commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1397907 - in /commons/proper/csv/trunk/src/main/java/org/apache/commons/csv: CSVLexer.java Constants.java ExtendedBufferedReader.java Token.java
Date Sat, 13 Oct 2012 17:28:57 GMT
Author: ggregory
Date: Sat Oct 13 17:28:56 2012
New Revision: 1397907

URL: http://svn.apache.org/viewvc?rev=1397907&view=rev
Log:
Make package private classes final.

Modified:
    commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVLexer.java
    commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/Constants.java
    commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/ExtendedBufferedReader.java
    commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/Token.java

Modified: commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVLexer.java
URL: http://svn.apache.org/viewvc/commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVLexer.java?rev=1397907&r1=1397906&r2=1397907&view=diff
==============================================================================
--- commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVLexer.java (original)
+++ commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVLexer.java Sat Oct 13
17:28:56 2012
@@ -25,7 +25,7 @@ import static org.apache.commons.csv.Tok
 
 import java.io.IOException;
 
-class CSVLexer extends Lexer {
+final class CSVLexer extends Lexer {
 
     /** ctor needs to be public so can be called dynamically by PerformanceTest class */
     public CSVLexer(final CSVFormat format, final ExtendedBufferedReader in) {

Modified: commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/Constants.java
URL: http://svn.apache.org/viewvc/commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/Constants.java?rev=1397907&r1=1397906&r2=1397907&view=diff
==============================================================================
--- commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/Constants.java (original)
+++ commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/Constants.java Sat Oct 13
17:28:56 2012
@@ -20,7 +20,7 @@ package org.apache.commons.csv;
 /**
  * Constants for this package.
  */
-class Constants {
+final class Constants {
     
     static final char BACKSPACE = '\b';
     static final char COMMA = ',';

Modified: commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/ExtendedBufferedReader.java
URL: http://svn.apache.org/viewvc/commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/ExtendedBufferedReader.java?rev=1397907&r1=1397906&r2=1397907&view=diff
==============================================================================
--- commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/ExtendedBufferedReader.java
(original)
+++ commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/ExtendedBufferedReader.java
Sat Oct 13 17:28:56 2012
@@ -32,7 +32,7 @@ import java.io.Reader;
  * In particular the reader supports a look-ahead option, which allows you to see the next
char returned by
  * {@link #read()}.
  */
-class ExtendedBufferedReader extends BufferedReader {
+final class ExtendedBufferedReader extends BufferedReader {
 
     /** The last char returned */
     private int lastChar = UNDEFINED;

Modified: commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/Token.java
URL: http://svn.apache.org/viewvc/commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/Token.java?rev=1397907&r1=1397906&r2=1397907&view=diff
==============================================================================
--- commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/Token.java (original)
+++ commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/Token.java Sat Oct 13 17:28:56
2012
@@ -24,7 +24,7 @@ import static org.apache.commons.csv.Tok
  * <p/>
  * It is used as contract between the lexer and the parser.
  */
-class Token {
+final class Token {
 
     /** length of the initial token (content-)buffer */
     private static final int INITIAL_TOKEN_LENGTH = 50;



Mime
View raw message