You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2012/03/22 17:32:45 UTC

svn commit: r1303879 - /commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVLexer.java

Author: sebb
Date: Thu Mar 22 16:32:44 2012
New Revision: 1303879

URL: http://svn.apache.org/viewvc?rev=1303879&view=rev
Log:
Allow class to be instantiated dynamically

Modified:
    commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVLexer.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=1303879&r1=1303878&r2=1303879&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 Thu Mar 22 16:32:44 2012
@@ -25,7 +25,8 @@ class CSVLexer extends Lexer {
 
     private final StringBuilder wsBuf = new StringBuilder();
     
-    CSVLexer(CSVFormat format, ExtendedBufferedReader in) {
+    // ctor needs to be public so can be called dynamically by PerformanceTest class
+    public CSVLexer(CSVFormat format, ExtendedBufferedReader in) {
         super(format, in);
     }