Skip to content

Commit b27a9d0

Browse files
committed
No need for blank Javadoc lines between Javadoc @ tags
1 parent 024e4b6 commit b27a9d0

33 files changed

Lines changed: 0 additions & 75 deletions

src/main/java/org/apache/commons/io/FileSystem.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,6 @@ private static String replace(final String path, final char oldChar, final char
350350
/**
351351
* Gets the file allocation block size in bytes.
352352
* @return the file allocation block size in bytes.
353-
*
354353
* @since 2.12.0
355354
*/
356355
public int getBlockSize() {
@@ -402,7 +401,6 @@ public int getMaxPathLength() {
402401
* Gets the name separator, '\\' on Windows, '/' on Linux.
403402
*
404403
* @return '\\' on Windows, '/' on Linux.
405-
*
406404
* @since 2.12.0
407405
*/
408406
public char getNameSeparator() {

src/main/java/org/apache/commons/io/HexDump.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,9 @@ public class HexDump {
6464
*
6565
* @param data the byte array to be dumped
6666
* @param appendable the Appendable to which the data is to be written
67-
*
6867
* @throws IOException is thrown if anything goes wrong writing
6968
* the data to appendable
7069
* @throws NullPointerException if the output appendable is null
71-
*
7270
* @since 2.12.0
7371
*/
7472
public static void dump(final byte[] data, final Appendable appendable)
@@ -96,13 +94,11 @@ public static void dump(final byte[] data, final Appendable appendable)
9694
* @param appendable the Appendable to which the data is to be written
9795
* @param index initial index into the byte array
9896
* @param length number of bytes to dump from the array
99-
*
10097
* @throws IOException is thrown if anything goes wrong writing
10198
* the data to appendable
10299
* @throws ArrayIndexOutOfBoundsException if the index or length is
103100
* outside the data array's bounds
104101
* @throws NullPointerException if the output appendable is null
105-
*
106102
* @since 2.12.0
107103
*/
108104
public static void dump(final byte[] data, final long offset,
@@ -178,7 +174,6 @@ public static void dump(final byte[] data, final long offset,
178174
* @param stream the OutputStream to which the data is to be
179175
* written
180176
* @param index initial index into the byte array
181-
*
182177
* @throws IOException is thrown if anything goes wrong writing
183178
* the data to stream
184179
* @throws ArrayIndexOutOfBoundsException if the index is

src/main/java/org/apache/commons/io/IOUtils.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,6 @@ private static void closeQ(final Closeable closeable) {
513513
*
514514
* @param closeable the objects to close, may be null or already closed
515515
* @since 2.0
516-
*
517516
* @see Throwable#addSuppressed(Throwable)
518517
*/
519518
public static void closeQuietly(final Closeable closeable) {
@@ -2043,7 +2042,6 @@ public static int read(final Reader reader, final char[] buffer, final int offse
20432042
*
20442043
* @param input where to read input from
20452044
* @param buffer destination
2046-
*
20472045
* @throws IOException if there is a problem reading the file
20482046
* @throws IllegalArgumentException if length is negative
20492047
* @throws EOFException if the number of bytes read was incorrect
@@ -2064,7 +2062,6 @@ public static void readFully(final InputStream input, final byte[] buffer) throw
20642062
* @param buffer destination
20652063
* @param offset initial offset into buffer
20662064
* @param length length to read, must be >= 0
2067-
*
20682065
* @throws IOException if there is a problem reading the file
20692066
* @throws IllegalArgumentException if length is negative
20702067
* @throws EOFException if the number of bytes read was incorrect

src/main/java/org/apache/commons/io/UncheckedIOExceptions.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ public static UncheckedIOException create(final Object message) {
4949
* </p>
5050
* @param e cause the {@link IOException}.
5151
* @param message the detail message.
52-
*
5352
* @return a new {@link UncheckedIOException}.
5453
*/
5554
public static UncheckedIOException wrap(final IOException e, final Object message) {

src/main/java/org/apache/commons/io/file/DeletingPathVisitor.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ public DeletingPathVisitor(final PathCounters pathCounter, final LinkOption[] li
9393
* Constructs a instance that deletes files except for the files and directories explicitly given.
9494
*
9595
* @param pathCounter How to count visits.
96-
*
9796
* @param skip The files to skip deleting.
9897
*/
9998
public DeletingPathVisitor(final PathCounters pathCounter, final String... skip) {

src/main/java/org/apache/commons/io/file/PathUtils.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,6 @@ public static Path createParentDirectories(final Path path, final LinkOption lin
406406
* Gets the current directory.
407407
*
408408
* @return the current directory.
409-
*
410409
* @since 2.9.0
411410
*/
412411
public static Path current() {
@@ -800,11 +799,9 @@ public static boolean fileContentEquals(final Path path1, final Path path2, fina
800799
*
801800
* @param filter the filter to apply to the set of files.
802801
* @param paths the array of files to apply the filter to.
803-
*
804802
* @return a subset of {@code files} that is accepted by the file filter.
805803
* @throws NullPointerException if the filter is {@code null}
806804
* @throws IllegalArgumentException if {@code files} contains a {@code null} value.
807-
*
808805
* @since 2.9.0
809806
*/
810807
public static Path[] filter(final PathFilter filter, final Path... paths) {
@@ -1721,7 +1718,6 @@ public static Path touch(final Path file) throws IOException {
17211718
* @param directory See {@link Files#walkFileTree(Path,FileVisitor)}.
17221719
* @param <T> See {@link Files#walkFileTree(Path,FileVisitor)}.
17231720
* @return the given visitor.
1724-
*
17251721
* @throws NoSuchFileException if the directory does not exist.
17261722
* @throws IOException if an I/O error is thrown by a visitor method.
17271723
* @throws NullPointerException if the directory is {@code null}.
@@ -1742,7 +1738,6 @@ public static <T extends FileVisitor<? super Path>> T visitFileTree(final T visi
17421738
* @param visitor See {@link Files#walkFileTree(Path,Set,int,FileVisitor)}.
17431739
* @param <T> See {@link Files#walkFileTree(Path,Set,int,FileVisitor)}.
17441740
* @return the given visitor.
1745-
*
17461741
* @throws IOException if an I/O error is thrown by a visitor method.
17471742
*/
17481743
public static <T extends FileVisitor<? super Path>> T visitFileTree(final T visitor, final Path start, final Set<FileVisitOption> options,
@@ -1761,7 +1756,6 @@ public static <T extends FileVisitor<? super Path>> T visitFileTree(final T visi
17611756
* @param more See {@link Paths#get(String,String[])}.
17621757
* @param <T> See {@link Files#walkFileTree(Path,FileVisitor)}.
17631758
* @return the given visitor.
1764-
*
17651759
* @throws IOException if an I/O error is thrown by a visitor method.
17661760
*/
17671761
public static <T extends FileVisitor<? super Path>> T visitFileTree(final T visitor, final String first, final String... more) throws IOException {
@@ -1777,7 +1771,6 @@ public static <T extends FileVisitor<? super Path>> T visitFileTree(final T visi
17771771
* @param uri See {@link Paths#get(URI)}.
17781772
* @param <T> See {@link Files#walkFileTree(Path,FileVisitor)}.
17791773
* @return the given visitor.
1780-
*
17811774
* @throws IOException if an I/O error is thrown by a visitor method.
17821775
*/
17831776
public static <T extends FileVisitor<? super Path>> T visitFileTree(final T visitor, final URI uri) throws IOException {

src/main/java/org/apache/commons/io/file/attribute/FileTimes.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,6 @@ public static Date ntfsTimeToDate(final long ntfsTime) {
157157
*
158158
* @param ntfsTime the NTFS time in 100-nanosecond units
159159
* @return the FileTime
160-
*
161160
* @see #toNtfsTime(FileTime)
162161
*/
163162
public static FileTime ntfsTimeToFileTime(final long ntfsTime) {

src/main/java/org/apache/commons/io/filefilter/FileFilterUtils.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ public static IOFileFilter ageFileFilter(final long cutoffMillis, final boolean
136136
*
137137
* @param filters the IOFileFilters that will be ANDed together.
138138
* @return a filter that ANDs the specified filters
139-
*
140139
* @throws IllegalArgumentException if the filters are null or contain a
141140
* null value.
142141
* @see AndFileFilter
@@ -229,7 +228,6 @@ public static IOFileFilter fileFileFilter() {
229228
* </pre>
230229
* @param filter the filter to apply to the set of files.
231230
* @param files the array of files to apply the filter to.
232-
*
233231
* @return a subset of {@code files} that is accepted by the
234232
* file filter.
235233
* @throws NullPointerException if the filter is {@code null}
@@ -263,7 +261,6 @@ public static File[] filter(final IOFileFilter filter, final File... files) {
263261
* </pre>
264262
* @param filter the filter to apply to the set of files.
265263
* @param files the array of files to apply the filter to.
266-
*
267264
* @return a subset of {@code files} that is accepted by the
268265
* file filter.
269266
* @throws IllegalArgumentException if the filter is {@code null}
@@ -283,7 +280,6 @@ public static File[] filter(final IOFileFilter filter, final Iterable<File> file
283280
* @param filter the filter to apply to the stream of files.
284281
* @param stream the stream of files on which to apply the filter.
285282
* @param collector how to collect the end result.
286-
*
287283
* @param <R> the return type.
288284
* @param <A> the mutable accumulation type of the reduction operation (often hidden as an implementation detail)
289285
* @return a subset of files from the stream that is accepted by the filter.
@@ -317,7 +313,6 @@ private static <R, A> R filterFiles(final IOFileFilter filter, final Stream<File
317313
* </pre>
318314
* @param filter the filter to apply to each files in the list.
319315
* @param files the collection of files to apply the filter to.
320-
*
321316
* @return a subset of {@code files} that is accepted by the
322317
* file filter.
323318
* @throws IllegalArgumentException if the filter is {@code null}
@@ -346,7 +341,6 @@ public static List<File> filterList(final IOFileFilter filter, final File... fil
346341
* </pre>
347342
* @param filter the filter to apply to each files in the list.
348343
* @param files the collection of files to apply the filter to.
349-
*
350344
* @return a subset of {@code files} that is accepted by the
351345
* file filter.
352346
* @throws IllegalArgumentException if the filter is {@code null}
@@ -377,7 +371,6 @@ public static List<File> filterList(final IOFileFilter filter, final Iterable<Fi
377371
* </pre>
378372
* @param filter the filter to apply to the set of files.
379373
* @param files the collection of files to apply the filter to.
380-
*
381374
* @return a subset of {@code files} that is accepted by the
382375
* file filter.
383376
* @throws IllegalArgumentException if the filter is {@code null}
@@ -407,11 +400,9 @@ public static Set<File> filterSet(final IOFileFilter filter, final File... files
407400
* </pre>
408401
* @param filter the filter to apply to the set of files.
409402
* @param files the collection of files to apply the filter to.
410-
*
411403
* @return a subset of {@code files} that is accepted by the
412404
* file filter.
413405
* @throws IllegalArgumentException if the filter is {@code null}
414-
*
415406
* @since 2.0
416407
*/
417408
public static Set<File> filterSet(final IOFileFilter filter, final Iterable<File> files) {
@@ -447,7 +438,6 @@ public static IOFileFilter magicNumberFileFilter(final byte[] magicNumber) {
447438
* @param magicNumber the magic number (byte sequence) to match at the
448439
* provided offset in each file.
449440
* @param offset the offset within the files to look for the magic number.
450-
*
451441
* @return an IOFileFilter that accepts files containing the magic number
452442
* at the specified offset.
453443
*
@@ -487,7 +477,6 @@ public static IOFileFilter magicNumberFileFilter(final String magicNumber) {
487477
* @param magicNumber the magic number (byte sequence) to match at the
488478
* provided offset in each file.
489479
* @param offset the offset within the files to look for the magic number.
490-
*
491480
* @return an IOFileFilter that accepts files containing the magic number
492481
* at the specified offset.
493482
*
@@ -597,7 +586,6 @@ public static IOFileFilter notFileFilter(final IOFileFilter filter) {
597586
*
598587
* @param filters the IOFileFilters that will be ORed together.
599588
* @return a filter that ORs the specified filters
600-
*
601589
* @throws IllegalArgumentException if the filters are null or contain a
602590
* null value.
603591
* @see OrFileFilter

src/main/java/org/apache/commons/io/filefilter/MagicNumberFileFilter.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ public class MagicNumberFileFilter extends AbstractFileFilter implements Seriali
139139
* </pre>
140140
*
141141
* @param magicNumber the magic number to look for in the file.
142-
*
143142
* @throws IllegalArgumentException if {@code magicNumber} is
144143
* {@code null}, or contains no bytes.
145144
*/
@@ -166,7 +165,6 @@ public MagicNumberFileFilter(final byte[] magicNumber) {
166165
*
167166
* @param magicNumbers the magic number to look for in the file.
168167
* @param offset the byte offset in the file to start comparing bytes.
169-
*
170168
* @throws IllegalArgumentException if {@code magicNumber}
171169
* contains no bytes, or {@code offset}
172170
* is a negative number.
@@ -224,7 +222,6 @@ public MagicNumberFileFilter(final String magicNumber) {
224222
* @param magicNumber the magic number to look for in the file.
225223
* The string is converted to bytes using the platform default charset.
226224
* @param offset the byte offset in the file to start comparing bytes.
227-
*
228225
* @throws IllegalArgumentException if {@code magicNumber} is
229226
* the empty String, or {@code offset} is
230227
* a negative number.
@@ -254,7 +251,6 @@ public MagicNumberFileFilter(final String magicNumber, final long offset) {
254251
* </p>
255252
*
256253
* @param file the file to accept or reject.
257-
*
258254
* @return {@code true} if the file contains the filter's magic number
259255
* at the specified offset, {@code false} otherwise.
260256
*/

src/main/java/org/apache/commons/io/filefilter/OrFileFilter.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ private OrFileFilter(final int initialCapacity) {
7777
/**
7878
* Constructs a new instance for the give filters.
7979
* @param fileFilters filters to OR.
80-
*
8180
* @since 2.9.0
8281
*/
8382
public OrFileFilter(final IOFileFilter... fileFilters) {

0 commit comments

Comments
 (0)