Skip to content

Commit 6652857

Browse files
committed
Javadoc: Empty Javadoc line before the 1st tag.
1 parent 64e2ab4 commit 6652857

22 files changed

Lines changed: 40 additions & 2 deletions

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ public class CopyUtils {
117117

118118
/**
119119
* Copies bytes from a {@code byte[]} to an {@link OutputStream}.
120+
*
120121
* @param input the byte array to read from.
121122
* @param output the {@link OutputStream} to write to.
122123
* @throws IOException In case of an I/O problem.

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ public class EndianUtils {
5050

5151
/**
5252
* Reads the next byte from the input stream.
53+
*
5354
* @param input the stream.
5455
* @return the byte.
5556
* @throws IOException if the end of file is reached.

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ public class FileCleaner {
6363
* in the resource cleanup code, such as
6464
* {@code javax.servlet.ServletContextListener.contextDestroyed(javax.servlet.ServletContextEvent)}.
6565
* One called, no new objects can be tracked by the file cleaner.
66+
*
6667
* @deprecated Use {@link FileCleaningTracker#exitWhenFinished()}.
6768
*/
6869
@Deprecated

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,12 +143,14 @@ public class FilenameUtils {
143143

144144
/**
145145
* The extension separator character.
146+
*
146147
* @since 1.4
147148
*/
148149
public static final char EXTENSION_SEPARATOR = '.';
149150

150151
/**
151152
* The extension separator String.
153+
*
152154
* @since 1.4
153155
*/
154156
public static final String EXTENSION_SEPARATOR_STR = Character.toString(EXTENSION_SEPARATOR);

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -708,6 +708,7 @@ static void checkFromToIndex(final int fromIndex, final int toIndex, final int l
708708
* <li>Removes the current thread's value for thread-local variables.</li>
709709
* <li>Sets static scratch arrays to 0s.</li>
710710
* </ul>
711+
*
711712
* @see IO#clear()
712713
*/
713714
static void clear() {
@@ -902,6 +903,7 @@ public static <T extends Throwable> T closeQuietly(final Closeable closeable, fi
902903
* <p>
903904
* Also consider using a try-with-resources statement where appropriate.
904905
* </p>
906+
*
905907
* @param closeables the objects to close, may be null or already closed.
906908
* @see #closeQuietly(Closeable)
907909
* @since 2.5

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ public boolean hasNext() {
142142
/**
143143
* Overridable method to validate each line that is returned.
144144
* This implementation always returns true.
145+
*
145146
* @param line the line that is to be validated.
146147
* @return true if valid, false to remove from the iterator.
147148
*/

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ public static UncheckedIOException create(final Object message) {
4747
* <p>
4848
* This method exists because there is no String constructor in {@link UncheckedIOException}.
4949
* </p>
50+
*
5051
* @param e cause the {@link IOException}.
5152
* @param message the detail message.
5253
* @return a new {@link UncheckedIOException}.

src/main/java/org/apache/commons/io/comparator/PathFileComparator.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
* <p>
5252
* <em>Serialization is deprecated and will be removed in 3.0.</em>
5353
* </p>
54+
*
5455
* @since 1.4
5556
*/
5657
public class PathFileComparator extends AbstractFileComparator implements Serializable {

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ public boolean accept(final File file, final String name) {
129129

130130
/**
131131
* {@inheritDoc}
132+
*
132133
* @since 2.9.0
133134
*/
134135
@Override

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,13 +226,13 @@ public static IOFileFilter fileFileFilter() {
226226
* Set&lt;File&gt; javaFiles = FileFilterUtils.filterSet(allFiles,
227227
* FileFilterUtils.suffixFileFilter(".java"));
228228
* </pre>
229+
*
229230
* @param filter the filter to apply to the set of files.
230231
* @param files the array of files to apply the filter to.
231232
* @return a subset of {@code files} that is accepted by the
232233
* file filter.
233234
* @throws NullPointerException if the filter is {@code null}
234235
* or {@code files} contains a {@code null} value.
235-
*
236236
* @since 2.0
237237
*/
238238
public static File[] filter(final IOFileFilter filter, final File... files) {
@@ -259,13 +259,13 @@ public static File[] filter(final IOFileFilter filter, final File... files) {
259259
* Set&lt;File&gt; javaFiles = FileFilterUtils.filterSet(allFiles,
260260
* FileFilterUtils.suffixFileFilter(".java"));
261261
* </pre>
262+
*
262263
* @param filter the filter to apply to the set of files.
263264
* @param files the array of files to apply the filter to.
264265
* @return a subset of {@code files} that is accepted by the
265266
* file filter.
266267
* @throws IllegalArgumentException if the filter is {@code null}
267268
* or {@code files} contains a {@code null} value.
268-
*
269269
* @since 2.0
270270
*/
271271
public static File[] filter(final IOFileFilter filter, final Iterable<File> files) {
@@ -311,6 +311,7 @@ private static <R, A> R filterFiles(final IOFileFilter filter, final Stream<File
311311
* List&lt;File&gt; directories = FileFilterUtils.filterList(filesAndDirectories,
312312
* FileFilterUtils.directoryFileFilter());
313313
* </pre>
314+
*
314315
* @param filter the filter to apply to each files in the list.
315316
* @param files the collection of files to apply the filter to.
316317
* @return a subset of {@code files} that is accepted by the
@@ -339,6 +340,7 @@ public static List<File> filterList(final IOFileFilter filter, final File... fil
339340
* List&lt;File&gt; directories = FileFilterUtils.filterList(filesAndDirectories,
340341
* FileFilterUtils.directoryFileFilter());
341342
* </pre>
343+
*
342344
* @param filter the filter to apply to each files in the list.
343345
* @param files the collection of files to apply the filter to.
344346
* @return a subset of {@code files} that is accepted by the
@@ -369,6 +371,7 @@ public static List<File> filterList(final IOFileFilter filter, final Iterable<Fi
369371
* Set&lt;File&gt; javaFiles = FileFilterUtils.filterSet(allFiles,
370372
* FileFilterUtils.suffixFileFilter(".java"));
371373
* </pre>
374+
*
372375
* @param filter the filter to apply to the set of files.
373376
* @param files the collection of files to apply the filter to.
374377
* @return a subset of {@code files} that is accepted by the
@@ -398,6 +401,7 @@ public static Set<File> filterSet(final IOFileFilter filter, final File... files
398401
* Set&lt;File&gt; javaFiles = FileFilterUtils.filterSet(allFiles,
399402
* FileFilterUtils.suffixFileFilter(".java"));
400403
* </pre>
404+
*
401405
* @param filter the filter to apply to the set of files.
402406
* @param files the collection of files to apply the filter to.
403407
* @return a subset of {@code files} that is accepted by the

0 commit comments

Comments
 (0)