diff --git a/src/test/java/org/apache/commons/csv/PerformanceTest.java b/src/test/java/org/apache/commons/csv/PerformanceTest.java index 09af4846..a19a11ae 100644 --- a/src/test/java/org/apache/commons/csv/PerformanceTest.java +++ b/src/test/java/org/apache/commons/csv/PerformanceTest.java @@ -226,9 +226,8 @@ public class PerformanceTest { private static Constructor getLexerCtor(final String clazz) throws Exception { @SuppressWarnings("unchecked") - final Class lexer = (Class) Class.forName("org.apache.commons.csv."+clazz); - final Constructor ctor = lexer.getConstructor(new Class[]{CSVFormat.class, ExtendedBufferedReader.class}); - return ctor; + final Class lexer = (Class) 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 {