Commit 218b5e7
Gary Gregory
Patch from PR 32 from jonfreedman with additional changes and cleanups
- Add Tailable interface to tail files accessed using alternative
libraries such as jCIFS or commons-vfs.
- Changes to the PR:
- Use Objects.requireNonNull() instead manual checks.
- Normalize Javadoc.
- Add missing Javadoc.
- Add missing Javadoc tags.
- Sort members.
- Don't initialize ivars to defaults.
- Renamed some types, ivars, and params.
- Fix some Javadoc.
- No need to use FQCNs in Javadoc @link.
- Use {@code} instead of <code></code>.
- YAGNI: Remove some methods that are not tested and never called.
- Re-implement some internals using NIO.
- Add some constructor parameter validation.
- Add a toString() methods.1 parent ac7a751 commit 218b5e7
3 files changed
Lines changed: 925 additions & 310 deletions
File tree
- src
- changes
- main/java/org/apache/commons/io/input
- test/java/org/apache/commons/io/input
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
199 | 202 | | |
200 | 203 | | |
201 | 204 | | |
| |||
273 | 276 | | |
274 | 277 | | |
275 | 278 | | |
276 | | - | |
| 279 | + | |
277 | 280 | | |
278 | 281 | | |
279 | 282 | | |
| |||
312 | 315 | | |
313 | 316 | | |
314 | 317 | | |
315 | | - | |
| 318 | + | |
316 | 319 | | |
317 | 320 | | |
318 | 321 | | |
| |||
0 commit comments