From 78d7055f7166e9899f613bc66d51b418a7860115 Mon Sep 17 00:00:00 2001 From: "Gary D. Gregory" Date: Tue, 26 Mar 2013 20:46:11 +0000 Subject: [PATCH] Minor clean ups. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1461302 13f79535-47bb-0310-9956-ffa450edef68 --- src/test/java/org/apache/commons/csv/PerformanceTest.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 {