Skip to content

Commit a064b97

Browse files
committed
[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
1 parent 258387e commit a064b97

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/main/java/org/apache/commons/csv/CSVParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
*
9191
* @version $Id$
9292
*/
93-
public class CSVParser implements Iterable<CSVRecord>, Closeable {
93+
public final class CSVParser implements Iterable<CSVRecord>, Closeable {
9494

9595
/**
9696
* Creates a parser for the given {@link File}.

src/main/java/org/apache/commons/csv/CSVPrinter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
*
3434
* @version $Id$
3535
*/
36-
public class CSVPrinter implements Flushable, Closeable {
36+
public final class CSVPrinter implements Flushable, Closeable {
3737

3838
/** The place that the values get written. */
3939
private final Appendable out;

src/main/java/org/apache/commons/csv/CSVRecord.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
*
2828
* @version $Id$
2929
*/
30-
public class CSVRecord implements Serializable, Iterable<String> {
30+
public final class CSVRecord implements Serializable, Iterable<String> {
3131

3232
private static final String[] EMPTY_STRING_ARRAY = new String[0];
3333

0 commit comments

Comments
 (0)