[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
This commit is contained in:
parent
258387e3ce
commit
a064b97305
|
@ -90,7 +90,7 @@ import java.util.NoSuchElementException;
|
||||||
*
|
*
|
||||||
* @version $Id$
|
* @version $Id$
|
||||||
*/
|
*/
|
||||||
public class CSVParser implements Iterable<CSVRecord>, Closeable {
|
public final class CSVParser implements Iterable<CSVRecord>, Closeable {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a parser for the given {@link File}.
|
* Creates a parser for the given {@link File}.
|
||||||
|
|
|
@ -33,7 +33,7 @@ import java.sql.SQLException;
|
||||||
*
|
*
|
||||||
* @version $Id$
|
* @version $Id$
|
||||||
*/
|
*/
|
||||||
public class CSVPrinter implements Flushable, Closeable {
|
public final class CSVPrinter implements Flushable, Closeable {
|
||||||
|
|
||||||
/** The place that the values get written. */
|
/** The place that the values get written. */
|
||||||
private final Appendable out;
|
private final Appendable out;
|
||||||
|
|
|
@ -27,7 +27,7 @@ import java.util.Map;
|
||||||
*
|
*
|
||||||
* @version $Id$
|
* @version $Id$
|
||||||
*/
|
*/
|
||||||
public class CSVRecord implements Serializable, Iterable<String> {
|
public final class CSVRecord implements Serializable, Iterable<String> {
|
||||||
|
|
||||||
private static final String[] EMPTY_STRING_ARRAY = new String[0];
|
private static final String[] EMPTY_STRING_ARRAY = new String[0];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue