commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1303879 - /commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVLexer.java
Date Thu, 22 Mar 2012 16:32:45 GMT
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);
     }
     



Mime
View raw message