Skip to content

Commit 78d7055

Browse files
committed
Minor clean ups.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1461302 13f79535-47bb-0310-9956-ffa450edef68
1 parent 6f1db38 commit 78d7055

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/test/java/org/apache/commons/csv/PerformanceTest.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -226,9 +226,8 @@ private static void testParseCommonsCSV() throws Exception {
226226

227227
private static Constructor<Lexer> getLexerCtor(final String clazz) throws Exception {
228228
@SuppressWarnings("unchecked")
229-
final Class<Lexer> lexer = (Class<Lexer>) Class.forName("org.apache.commons.csv."+clazz);
230-
final Constructor<Lexer> ctor = lexer.getConstructor(new Class<?>[]{CSVFormat.class, ExtendedBufferedReader.class});
231-
return ctor;
229+
final Class<Lexer> lexer = (Class<Lexer>) Class.forName("org.apache.commons.csv." + clazz);
230+
return lexer.getConstructor(new Class<?>[]{CSVFormat.class, ExtendedBufferedReader.class});
232231
}
233232

234233
private static void testCSVLexer(final boolean newToken, final String test) throws Exception {

0 commit comments

Comments
 (0)