From a064b9730522840269a98fd009d426068db1307c Mon Sep 17 00:00:00 2001 From: "Gary D. Gregory" Date: Mon, 5 Aug 2013 21:45:01 +0000 Subject: [PATCH] [CSV-42] Lots of possible changes: Make classes final. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1510761 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/java/org/apache/commons/csv/CSVParser.java | 2 +- src/main/java/org/apache/commons/csv/CSVPrinter.java | 2 +- src/main/java/org/apache/commons/csv/CSVRecord.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/apache/commons/csv/CSVParser.java b/src/main/java/org/apache/commons/csv/CSVParser.java index 67338e67..f621574a 100644 --- a/src/main/java/org/apache/commons/csv/CSVParser.java +++ b/src/main/java/org/apache/commons/csv/CSVParser.java @@ -90,7 +90,7 @@ import java.util.NoSuchElementException; * * @version $Id$ */ -public class CSVParser implements Iterable, Closeable { +public final class CSVParser implements Iterable, Closeable { /** * Creates a parser for the given {@link File}. diff --git a/src/main/java/org/apache/commons/csv/CSVPrinter.java b/src/main/java/org/apache/commons/csv/CSVPrinter.java index 431cd4eb..8da4ece3 100644 --- a/src/main/java/org/apache/commons/csv/CSVPrinter.java +++ b/src/main/java/org/apache/commons/csv/CSVPrinter.java @@ -33,7 +33,7 @@ import java.sql.SQLException; * * @version $Id$ */ -public class CSVPrinter implements Flushable, Closeable { +public final class CSVPrinter implements Flushable, Closeable { /** The place that the values get written. */ private final Appendable out; diff --git a/src/main/java/org/apache/commons/csv/CSVRecord.java b/src/main/java/org/apache/commons/csv/CSVRecord.java index d9e4513b..287e4481 100644 --- a/src/main/java/org/apache/commons/csv/CSVRecord.java +++ b/src/main/java/org/apache/commons/csv/CSVRecord.java @@ -27,7 +27,7 @@ import java.util.Map; * * @version $Id$ */ -public class CSVRecord implements Serializable, Iterable { +public final class CSVRecord implements Serializable, Iterable { private static final String[] EMPTY_STRING_ARRAY = new String[0];