Skip to content

Commit c97e637

Browse files
committed
Remove trailing white spaces on all lines.
1 parent 44c5c56 commit c97e637

6 files changed

Lines changed: 11 additions & 11 deletions

File tree

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ private static boolean isOsNameMatch(final String osName, final String osNamePre
199199

200200
/**
201201
* Constructs a new instance.
202-
*
202+
*
203203
* @param caseSensitive
204204
* Whether this file system is case sensitive.
205205
* @param casePreserving
@@ -261,7 +261,7 @@ public String[] getReservedFileNames() {
261261

262262
/**
263263
* Whether this file system preserves case.
264-
*
264+
*
265265
* @return Whether this file system preserves case.
266266
*/
267267
public boolean isCasePreserving() {
@@ -270,7 +270,7 @@ public boolean isCasePreserving() {
270270

271271
/**
272272
* Whether this file system is case-sensitive.
273-
*
273+
*
274274
* @return Whether this file system is case-sensitive.
275275
*/
276276
public boolean isCaseSensitive() {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1071,7 +1071,7 @@ public static String getExtension(final String fileName) throws IllegalArgumentE
10711071

10721072
/**
10731073
* Special handling for NTFS ADS: Don't accept colon in the fileName.
1074-
*
1074+
*
10751075
* @param fileName a file name
10761076
* @return ADS offsets.
10771077
*/

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public int read() throws IOException {
4646

4747
/**
4848
* Returns true if the given character should be filtered out, false to keep the character.
49-
*
49+
*
5050
* @param ch
5151
* the character to test.
5252
* @return true if the given character should be filtered out, false to keep the character.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public class ReversedLinesFileReader implements Closeable {
3737

3838
private static final String EMPTY_STRING = "";
3939
private static final int DEFAULT_BLOCK_SIZE = 4096;
40-
40+
4141
private final int blockSize;
4242
private final Charset encoding;
4343

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ private File getTestDirectory() {
4444
public void setUp() throws Exception {
4545
testFile = new File(getTestDirectory(), "file1-test.txt");
4646
if(!testFile.getParentFile().exists()) {
47-
throw new IOException("Cannot create file " + testFile +
47+
throw new IOException("Cannot create file " + testFile +
4848
" as the parent directory does not exist");
4949
}
5050

@@ -53,7 +53,7 @@ public void setUp() throws Exception {
5353

5454
/**
5555
* Tests that <code>copyToFile(InputStream, File)</code> does not close the input stream.
56-
*
56+
*
5757
* @throws IOException
5858
* @see FileUtils#copyToFile(InputStream, File)
5959
* @see FileUtils#copyInputStreamToFile(InputStream, File)
@@ -68,7 +68,7 @@ public void testCopyToFile() throws IOException {
6868

6969
/**
7070
* Tests that <code>copyInputStreamToFile(InputStream, File)</code> closes the input stream.
71-
*
71+
*
7272
* @throws IOException
7373
* @see FileUtils#copyInputStreamToFile(InputStream, File)
7474
* @see FileUtils#copyToFile(InputStream, File)

src/test/java/org/apache/commons/io/output/TeeOutputStreamTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,10 @@ public void testTee() throws IOException {
112112
expected.write(array, 5, 5);
113113
assertByteArrayEquals("TeeOutputStream.write(byte[], int, int)", expected.toByteArray(), baos1.toByteArray());
114114
assertByteArrayEquals("TeeOutputStream.write(byte[], int, int)", expected.toByteArray(), baos2.toByteArray());
115-
115+
116116
expected.flush();
117117
expected.close();
118-
118+
119119
tos.flush();
120120
tos.close();
121121
}

0 commit comments

Comments
 (0)