You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2018/06/12 22:03:48 UTC

commons-io git commit: Remove trailing white spaces on all lines.

Repository: commons-io
Updated Branches:
  refs/heads/master 44c5c5618 -> c97e63795


Remove trailing white spaces on all lines.

Project: http://git-wip-us.apache.org/repos/asf/commons-io/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-io/commit/c97e6379
Tree: http://git-wip-us.apache.org/repos/asf/commons-io/tree/c97e6379
Diff: http://git-wip-us.apache.org/repos/asf/commons-io/diff/c97e6379

Branch: refs/heads/master
Commit: c97e637951ba8bedf74725a62644d7578ce1aaa6
Parents: 44c5c56
Author: Gary Gregory <ga...@gmail.com>
Authored: Tue Jun 12 16:03:44 2018 -0600
Committer: Gary Gregory <ga...@gmail.com>
Committed: Tue Jun 12 16:03:44 2018 -0600

----------------------------------------------------------------------
 src/main/java/org/apache/commons/io/FileSystem.java            | 6 +++---
 src/main/java/org/apache/commons/io/FilenameUtils.java         | 2 +-
 .../apache/commons/io/input/AbstractCharacterFilterReader.java | 2 +-
 .../org/apache/commons/io/input/ReversedLinesFileReader.java   | 2 +-
 .../org/apache/commons/io/FileUtilsCopyToFileTestCase.java     | 6 +++---
 .../java/org/apache/commons/io/output/TeeOutputStreamTest.java | 4 ++--
 6 files changed, 11 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-io/blob/c97e6379/src/main/java/org/apache/commons/io/FileSystem.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/FileSystem.java b/src/main/java/org/apache/commons/io/FileSystem.java
index c3ec260..1c52935 100644
--- a/src/main/java/org/apache/commons/io/FileSystem.java
+++ b/src/main/java/org/apache/commons/io/FileSystem.java
@@ -199,7 +199,7 @@ public enum FileSystem {
 
     /**
      * Constructs a new instance.
-     * 
+     *
      * @param caseSensitive
      *            Whether this file system is case sensitive.
      * @param casePreserving
@@ -261,7 +261,7 @@ public enum FileSystem {
 
     /**
      * Whether this file system preserves case.
-     * 
+     *
      * @return Whether this file system preserves case.
      */
     public boolean isCasePreserving() {
@@ -270,7 +270,7 @@ public enum FileSystem {
 
     /**
      * Whether this file system is case-sensitive.
-     * 
+     *
      * @return Whether this file system is case-sensitive.
      */
     public boolean isCaseSensitive() {

http://git-wip-us.apache.org/repos/asf/commons-io/blob/c97e6379/src/main/java/org/apache/commons/io/FilenameUtils.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/FilenameUtils.java b/src/main/java/org/apache/commons/io/FilenameUtils.java
index e533c1b..5bb415b 100644
--- a/src/main/java/org/apache/commons/io/FilenameUtils.java
+++ b/src/main/java/org/apache/commons/io/FilenameUtils.java
@@ -1071,7 +1071,7 @@ public class FilenameUtils {
 
     /**
      * Special handling for NTFS ADS: Don't accept colon in the fileName.
-     * 
+     *
      * @param fileName a file name
      * @return ADS offsets.
      */

http://git-wip-us.apache.org/repos/asf/commons-io/blob/c97e6379/src/main/java/org/apache/commons/io/input/AbstractCharacterFilterReader.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/input/AbstractCharacterFilterReader.java b/src/main/java/org/apache/commons/io/input/AbstractCharacterFilterReader.java
index 8deeebe..cfb5df7 100644
--- a/src/main/java/org/apache/commons/io/input/AbstractCharacterFilterReader.java
+++ b/src/main/java/org/apache/commons/io/input/AbstractCharacterFilterReader.java
@@ -46,7 +46,7 @@ public abstract class AbstractCharacterFilterReader extends FilterReader {
 
     /**
      * Returns true if the given character should be filtered out, false to keep the character.
-     * 
+     *
      * @param ch
      *            the character to test.
      * @return true if the given character should be filtered out, false to keep the character.

http://git-wip-us.apache.org/repos/asf/commons-io/blob/c97e6379/src/main/java/org/apache/commons/io/input/ReversedLinesFileReader.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/input/ReversedLinesFileReader.java b/src/main/java/org/apache/commons/io/input/ReversedLinesFileReader.java
index 9470f02..2b61384 100644
--- a/src/main/java/org/apache/commons/io/input/ReversedLinesFileReader.java
+++ b/src/main/java/org/apache/commons/io/input/ReversedLinesFileReader.java
@@ -37,7 +37,7 @@ public class ReversedLinesFileReader implements Closeable {
 
     private static final String EMPTY_STRING = "";
     private static final int DEFAULT_BLOCK_SIZE = 4096;
-    
+
     private final int blockSize;
     private final Charset encoding;
 

http://git-wip-us.apache.org/repos/asf/commons-io/blob/c97e6379/src/test/java/org/apache/commons/io/FileUtilsCopyToFileTestCase.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/FileUtilsCopyToFileTestCase.java b/src/test/java/org/apache/commons/io/FileUtilsCopyToFileTestCase.java
index 60c6672..b6959fb 100644
--- a/src/test/java/org/apache/commons/io/FileUtilsCopyToFileTestCase.java
+++ b/src/test/java/org/apache/commons/io/FileUtilsCopyToFileTestCase.java
@@ -44,7 +44,7 @@ public class FileUtilsCopyToFileTestCase {
     public void setUp() throws Exception {
         testFile = new File(getTestDirectory(), "file1-test.txt");
         if(!testFile.getParentFile().exists()) {
-            throw new IOException("Cannot create file " + testFile + 
+            throw new IOException("Cannot create file " + testFile +
                 " as the parent directory does not exist");
         }
 
@@ -53,7 +53,7 @@ public class FileUtilsCopyToFileTestCase {
 
     /**
      * Tests that <code>copyToFile(InputStream, File)</code> does not close the input stream.
-     * 
+     *
      * @throws IOException
      * @see FileUtils#copyToFile(InputStream, File)
      * @see FileUtils#copyInputStreamToFile(InputStream, File)
@@ -68,7 +68,7 @@ public class FileUtilsCopyToFileTestCase {
 
     /**
      * Tests that <code>copyInputStreamToFile(InputStream, File)</code> closes the input stream.
-     * 
+     *
      * @throws IOException
      * @see FileUtils#copyInputStreamToFile(InputStream, File)
      * @see FileUtils#copyToFile(InputStream, File)

http://git-wip-us.apache.org/repos/asf/commons-io/blob/c97e6379/src/test/java/org/apache/commons/io/output/TeeOutputStreamTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/output/TeeOutputStreamTest.java b/src/test/java/org/apache/commons/io/output/TeeOutputStreamTest.java
index 06cac4f..8b548e9 100644
--- a/src/test/java/org/apache/commons/io/output/TeeOutputStreamTest.java
+++ b/src/test/java/org/apache/commons/io/output/TeeOutputStreamTest.java
@@ -112,10 +112,10 @@ public class TeeOutputStreamTest {
         expected.write(array, 5, 5);
         assertByteArrayEquals("TeeOutputStream.write(byte[], int, int)", expected.toByteArray(), baos1.toByteArray());
         assertByteArrayEquals("TeeOutputStream.write(byte[], int, int)", expected.toByteArray(), baos2.toByteArray());
-        
+
         expected.flush();
         expected.close();
-        
+
         tos.flush();
         tos.close();
     }