Commit 69e3b81
Gary Gregory
Method that allocates should release resources.
Use try-with-resources with Tailer as an AutoCloseable.
All tests now manage its own resource.1 parent d6d99a6 commit 69e3b81
2 files changed
Lines changed: 247 additions & 226 deletions
File tree
- src
- main/java/org/apache/commons/io/input
- test/java/org/apache/commons/io/input
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | | - | |
| 158 | + | |
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
| |||
768 | 768 | | |
769 | 769 | | |
770 | 770 | | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
771 | 779 | | |
772 | 780 | | |
773 | 781 | | |
| |||
963 | 971 | | |
964 | 972 | | |
965 | 973 | | |
966 | | - | |
| 974 | + | |
967 | 975 | | |
968 | 976 | | |
969 | 977 | | |
970 | 978 | | |
971 | 979 | | |
| 980 | + | |
| 981 | + | |
972 | 982 | | |
| 983 | + | |
973 | 984 | | |
974 | | - | |
| 985 | + | |
975 | 986 | | |
976 | 987 | | |
0 commit comments