Skip to content

Commit b36ebae

Browse files
committed
Javadoc
Add an empty line before a Javadoc comment
1 parent 8279b7f commit b36ebae

File tree

14 files changed

+33
-1
lines changed

14 files changed

+33
-1
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,7 @@ public static class CancelException extends IOException {
265265

266266
/** The file being processed when the exception was thrown. */
267267
private final File file;
268+
268269
/** The file depth when the exception was thrown. */
269270
private final int depth;
270271

@@ -312,6 +313,7 @@ public File getFile() {
312313
return file;
313314
}
314315
}
316+
315317
/**
316318
* The file filter to use to filter files and directories.
317319
*/

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ public class FileCleaningTracker {
5151
* The reaper thread.
5252
*/
5353
private final class Reaper extends Thread {
54+
5455
/** Constructs a new Reaper */
5556
Reaper() {
5657
super("File Reaper");

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ public enum FileSystem {
118118
* Implementations measure length and can truncate to a specified limit.
119119
*/
120120
enum NameLengthStrategy {
121+
121122
/** Length measured as encoded bytes. */
122123
BYTES {
123124
@Override

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
public class IOIndexedException extends IOException {
2828

2929
private static final long serialVersionUID = 1L;
30+
3031
/**
3132
* Converts input to a suitable String for exception message.
3233
*

src/main/java/org/apache/commons/io/build/package-info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17+
1718
/**
1819
* Provides classes to implement the builder pattern for IO classes.
1920
*
@@ -49,5 +50,4 @@
4950
*
5051
* @since 2.12.0
5152
*/
52-
5353
package org.apache.commons.io.build;

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,32 +200,38 @@ private RelativeSortedPaths(final Path dir1, final Path dir2, final int maxDepth
200200

201201
private static final OpenOption[] OPEN_OPTIONS_TRUNCATE = { StandardOpenOption.CREATE, StandardOpenOption.TRUNCATE_EXISTING };
202202
private static final OpenOption[] OPEN_OPTIONS_APPEND = { StandardOpenOption.CREATE, StandardOpenOption.APPEND };
203+
203204
/**
204205
* Empty {@link CopyOption} array.
205206
*
206207
* @since 2.8.0
207208
*/
208209
public static final CopyOption[] EMPTY_COPY_OPTIONS = {};
210+
209211
/**
210212
* Empty {@link DeleteOption} array.
211213
*
212214
* @since 2.8.0
213215
*/
214216
public static final DeleteOption[] EMPTY_DELETE_OPTION_ARRAY = {};
217+
215218
/**
216219
* Empty {@link FileAttribute} array.
217220
*
218221
* @since 2.13.0
219222
*/
220223
public static final FileAttribute<?>[] EMPTY_FILE_ATTRIBUTE_ARRAY = {};
224+
221225
/**
222226
* Empty {@link FileVisitOption} array.
223227
*/
224228
public static final FileVisitOption[] EMPTY_FILE_VISIT_OPTION_ARRAY = {};
229+
225230
/**
226231
* Empty {@link LinkOption} array.
227232
*/
228233
public static final LinkOption[] EMPTY_LINK_OPTION_ARRAY = {};
234+
229235
/**
230236
* {@link LinkOption} array for {@link LinkOption#NOFOLLOW_LINKS}.
231237
*
@@ -234,16 +240,19 @@ private RelativeSortedPaths(final Path dir1, final Path dir2, final int maxDepth
234240
*/
235241
@Deprecated
236242
public static final LinkOption[] NOFOLLOW_LINK_OPTION_ARRAY = { LinkOption.NOFOLLOW_LINKS };
243+
237244
/**
238245
* A LinkOption used to follow link in this class, the inverse of {@link LinkOption#NOFOLLOW_LINKS}.
239246
*
240247
* @since 2.12.0
241248
*/
242249
static final LinkOption NULL_LINK_OPTION = null;
250+
243251
/**
244252
* Empty {@link OpenOption} array.
245253
*/
246254
public static final OpenOption[] EMPTY_OPEN_OPTION_ARRAY = {};
255+
247256
/**
248257
* Empty {@link Path} array.
249258
*

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ public class DelegateFileFilter extends AbstractFileFilter implements Serializab
3939

4040
/** The File filter */
4141
private final transient FileFilter fileFilter;
42+
4243
/** The Filename filter */
4344
private final transient FilenameFilter fileNameFilter;
4445

src/main/java/org/apache/commons/io/input/ReaderInputStream.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ private static CharsetEncoder newEncoder(final Charset charset) {
209209
* CharBuffer used as input for the decoder. It should be reasonably large as we read data from the underlying Reader into this buffer.
210210
*/
211211
private final CharBuffer encoderIn;
212+
212213
/**
213214
* ByteBuffer used as output for the decoder. This buffer can be small as it is only used to transfer data from the decoder to the buffer provided by the
214215
* caller.

src/main/java/org/apache/commons/io/output/ClosedWriter.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ public class ClosedWriter extends Writer {
3838
* @since 2.12.0
3939
*/
4040
public static final ClosedWriter INSTANCE = new ClosedWriter();
41+
4142
/**
4243
* The singleton instance.
4344
*

src/test/java/org/apache/commons/io/CharsetsTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ public class CharsetsTest {
4646
* For parameterized tests.
4747
*/
4848
public static final String AVAIL_CHARSETS = "org.apache.commons.io.CharsetsTest#availableCharsetsKeySet";
49+
4950
/**
5051
* For parameterized tests.
5152
*/

0 commit comments

Comments
 (0)