commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject [commons-csv] 01/02: Remove trailing white spaces on all lines.
Date Wed, 18 Dec 2019 21:04:08 GMT
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-csv.git

commit 06dda31f5218c138c2eafbe27f154d2faa79b507
Author: Gary Gregory <garydgregory@gmail.com>
AuthorDate: Wed Dec 18 15:29:20 2019 -0500

    Remove trailing white spaces on all lines.
---
 src/main/java/org/apache/commons/csv/CSVFormat.java     | 2 +-
 src/test/java/org/apache/commons/csv/CSVFormatTest.java | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/main/java/org/apache/commons/csv/CSVFormat.java b/src/main/java/org/apache/commons/csv/CSVFormat.java
index b7cf1ba..0742c93 100644
--- a/src/main/java/org/apache/commons/csv/CSVFormat.java
+++ b/src/main/java/org/apache/commons/csv/CSVFormat.java
@@ -1598,7 +1598,7 @@ public final class CSVFormat implements Serializable {
         }
         if (quoteMode != null) {
             sb.append(' ');
-            sb.append("QuoteMode=<").append(quoteMode).append('>');            
+            sb.append("QuoteMode=<").append(quoteMode).append('>');
         }
         if (isCommentMarkerSet()) {
             sb.append(' ');
diff --git a/src/test/java/org/apache/commons/csv/CSVFormatTest.java b/src/test/java/org/apache/commons/csv/CSVFormatTest.java
index 0147867..c7f9885 100644
--- a/src/test/java/org/apache/commons/csv/CSVFormatTest.java
+++ b/src/test/java/org/apache/commons/csv/CSVFormatTest.java
@@ -69,7 +69,7 @@ public class CSVFormatTest {
             fail("Objects must not compare equal for " + name + "(" + type + ")");
         }
         if (left.hashCode() == right.hashCode()) {
-            fail("Hash code should not be equal for " + name + "(" + type + ")");       
    
+            fail("Hash code should not be equal for " + name + "(" + type + ")");
         }
     }
 
@@ -196,7 +196,7 @@ public class CSVFormatTest {
                    }
                }
             }
-         }   
+         }
     }
 
     @Test
@@ -1174,5 +1174,5 @@ public class CSVFormatTest {
         final CSVFormat formatWithRecordSeparator = CSVFormat.DEFAULT.withSystemRecordSeparator();
         assertEquals(System.getProperty("line.separator"), formatWithRecordSeparator.getRecordSeparator());
     }
-    
+
 }


Mime
View raw message