diff --git a/src/main/java/org/apache/commons/csv/CSVFormat.java b/src/main/java/org/apache/commons/csv/CSVFormat.java index e4622595..f72501a8 100644 --- a/src/main/java/org/apache/commons/csv/CSVFormat.java +++ b/src/main/java/org/apache/commons/csv/CSVFormat.java @@ -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"; diff --git a/src/main/java/org/apache/commons/csv/CSVRecord.java b/src/main/java/org/apache/commons/csv/CSVRecord.java index 8fad43e0..f1262407 100644 --- a/src/main/java/org/apache/commons/csv/CSVRecord.java +++ b/src/main/java/org/apache/commons/csv/CSVRecord.java @@ -27,6 +27,8 @@ import java.util.Map; */ public class CSVRecord implements Serializable, Iterable { + private static final long serialVersionUID = 1L; + private static final String[] EMPTY_STRING_ARRAY = new String[0]; /** The values of the record */