Author: ggregory Date: Tue Mar 26 20:46:11 2013 New Revision: 1461302 URL: http://svn.apache.org/r1461302 Log: Minor clean ups.
Modified: commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/PerformanceTest.java Modified: commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/PerformanceTest.java URL: http://svn.apache.org/viewvc/commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/PerformanceTest.java?rev=1461302&r1=1461301&r2=1461302&view=diff ============================================================================== --- commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/PerformanceTest.java (original) +++ commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/PerformanceTest.java Tue Mar 26 20:46:11 2013 @@ -226,9 +226,8 @@ public class PerformanceTest { private static Constructor<Lexer> getLexerCtor(final String clazz) throws Exception { @SuppressWarnings("unchecked") - final Class<Lexer> lexer = (Class<Lexer>) Class.forName("org.apache.commons.csv."+clazz); - final Constructor<Lexer> ctor = lexer.getConstructor(new Class<?>[]{CSVFormat.class, ExtendedBufferedReader.class}); - return ctor; + final Class<Lexer> lexer = (Class<Lexer>) Class.forName("org.apache.commons.csv." + clazz); + return lexer.getConstructor(new Class<?>[]{CSVFormat.class, ExtendedBufferedReader.class}); } private static void testCSVLexer(final boolean newToken, final String test) throws Exception {