commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1383556 - in /commons/proper/csv/trunk/src/main/java/org/apache/commons/csv: CSVFormat.java CSVRecord.java
Date Tue, 11 Sep 2012 19:03:04 GMT
Author: ggregory
Date: Tue Sep 11 19:03:03 2012
New Revision: 1383556

URL: http://svn.apache.org/viewvc?rev=1383556&view=rev
Log:
Add default serialVersionUID to two classes.

Modified:
    commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java
    commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVRecord.java

Modified: commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java
URL: http://svn.apache.org/viewvc/commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java?rev=1383556&r1=1383555&r2=1383556&view=diff
==============================================================================
--- commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java (original)
+++ commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java Tue Sep 11
19:03:03 2012
@@ -29,6 +29,8 @@ import java.io.StringWriter;
  */
 public class CSVFormat implements Serializable {
 
+    private static final long serialVersionUID = 1L;
+
     /** According to RFC 4180, line breaks are delimited by CRLF */
     public static final String CRLF = "\r\n";
     

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=1383556&r1=1383555&r2=1383556&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 Tue Sep 11
19:03:03 2012
@@ -27,6 +27,8 @@ import java.util.Map;
  */
 public class CSVRecord implements Serializable, Iterable<String> {
     
+    private static final long serialVersionUID = 1L;
+
     private static final String[] EMPTY_STRING_ARRAY = new String[0];
     
     /** The values of the record */



Mime
View raw message