You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2014/03/28 17:52:18 UTC

svn commit: r1582822 - in /commons/proper/csv/trunk: ./ src/main/java/org/apache/commons/csv/ src/test/java/org/apache/commons/csv/

Author: sebb
Date: Fri Mar 28 16:52:17 2014
New Revision: 1582822

URL: http://svn.apache.org/r1582822
Log:
TRailing spaces

Modified:
    commons/proper/csv/trunk/pom.xml
    commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVParser.java
    commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVPrinter.java
    commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVRecord.java
    commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/Constants.java
    commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVFormatTest.java
    commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVParserTest.java

Modified: commons/proper/csv/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/csv/trunk/pom.xml?rev=1582822&r1=1582821&r2=1582822&view=diff
==============================================================================
--- commons/proper/csv/trunk/pom.xml (original)
+++ commons/proper/csv/trunk/pom.xml Fri Mar 28 16:52:17 2014
@@ -127,9 +127,9 @@ CSV files of various types.
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
     <commons.encoding>UTF-8</commons.encoding>
-    <!-- 
+    <!--
         Use 2.9.1 instead of 2.10; 2.10 seems to scan the 'target' dir
-        and wants license headers in .properties to be the header for Java files. 
+        and wants license headers in .properties to be the header for Java files.
     -->
     <checkstyle.version>2.12</checkstyle.version>
     <checkstyle.header.file>${basedir}/LICENSE-header.txt</checkstyle.header.file>

Modified: commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVParser.java
URL: http://svn.apache.org/viewvc/commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVParser.java?rev=1582822&r1=1582821&r2=1582822&view=diff
==============================================================================
--- commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVParser.java (original)
+++ commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVParser.java Fri Mar 28 16:52:17 2014
@@ -54,7 +54,7 @@ import java.util.NoSuchElementException;
  * </p>
  * <p>
  * Alternatively parsers can also be created by passing a {@link Reader} directly to the sole constructor.
- * 
+ *
  * For those who like fluent APIs, parsers can be created using {@link CSVFormat#parse(java.io.Reader)} as a shortcut:
  * </p>
  * <pre>
@@ -319,7 +319,7 @@ public final class CSVParser implements 
 
     /**
      * Initializes the name to index mapping if the format defines a header.
-     * 
+     *
      * @return null if the format has no header.
      */
     private Map<String, Integer> initializeHeader() throws IOException {

Modified: commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVPrinter.java
URL: http://svn.apache.org/viewvc/commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVPrinter.java?rev=1582822&r1=1582821&r2=1582822&view=diff
==============================================================================
--- commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVPrinter.java (original)
+++ commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVPrinter.java Fri Mar 28 16:52:17 2014
@@ -422,9 +422,9 @@ public final class CSVPrinter implements
     }
 
     /**
-     * Gets the target Appendable. 
-     * 
-     * @return the target Appendable. 
+     * Gets the target Appendable.
+     *
+     * @return the target Appendable.
      */
     public Appendable getOut() {
         return this.out;

Modified: commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVRecord.java
URL: http://svn.apache.org/viewvc/commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVRecord.java?rev=1582822&r1=1582821&r2=1582822&view=diff
==============================================================================
--- commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVRecord.java (original)
+++ commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVRecord.java Fri Mar 28 16:52:17 2014
@@ -172,7 +172,7 @@ public final class CSVRecord implements 
 
     /**
      * Puts all values of this record into the given Map.
-     * 
+     *
      * @param map The Map to populate.
      * @return the given map.
      */
@@ -194,7 +194,7 @@ public final class CSVRecord implements 
 
     /**
      * Converts the values to a List.
-     * 
+     *
      * TODO: Maybe make this public?
      * @return a new List
      */
@@ -204,7 +204,7 @@ public final class CSVRecord implements 
 
     /**
      * Copies this record into a new Map. The new map is not connect
-     * 
+     *
      * @return A new Map. The map is empty if the record has no headers.
      */
     public Map<String, String> toMap() {

Modified: commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/Constants.java
URL: http://svn.apache.org/viewvc/commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/Constants.java?rev=1582822&r1=1582821&r2=1582822&view=diff
==============================================================================
--- commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/Constants.java (original)
+++ commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/Constants.java Fri Mar 28 16:52:17 2014
@@ -39,13 +39,13 @@ final class Constants {
     static final char LF = '\n';
     static final char SP = ' ';
     static final char TAB = '\t';
-    
+
     /** ASCII record separator */
     static final char RS = 30;
 
     /** ASCII unit separator */
     static final char US = 31;
-    
+
     static final String EMPTY = "";
 
     /** The end of stream symbol */

Modified: commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVFormatTest.java
URL: http://svn.apache.org/viewvc/commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVFormatTest.java?rev=1582822&r1=1582821&r2=1582822&view=diff
==============================================================================
--- commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVFormatTest.java (original)
+++ commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVFormatTest.java Fri Mar 28 16:52:17 2014
@@ -55,7 +55,7 @@ public class CSVFormatTest {
     public void testDelimiterSameAsCommentStartThrowsException() {
         CSVFormat.DEFAULT.withDelimiter('!').withCommentStart('!').validate();
     }
-    
+
     @Test(expected = IllegalStateException.class)
     public void testDelimiterSameAsEscapeThrowsException() {
         CSVFormat.DEFAULT.withDelimiter('!').withEscape('!').validate();

Modified: commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVParserTest.java
URL: http://svn.apache.org/viewvc/commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVParserTest.java?rev=1582822&r1=1582821&r2=1582822&view=diff
==============================================================================
--- commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVParserTest.java (original)
+++ commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVParserTest.java Fri Mar 28 16:52:17 2014
@@ -757,7 +757,7 @@ public class CSVParserTest {
     @Test(expected = IllegalArgumentException.class)
     public void testParseUrlCharsetNullFormat() throws Exception {
         final CSVParser parser = CSVParser.parse(new URL("http://commons.apache.org"), Charset.defaultCharset(), null);
-        parser.close();        
+        parser.close();
     }
 
     @Test