Minor clean ups.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1461302 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6f1db38058
commit
78d7055f71
|
@ -227,8 +227,7 @@ public class PerformanceTest {
|
||||||
private static Constructor<Lexer> getLexerCtor(final String clazz) throws Exception {
|
private static Constructor<Lexer> getLexerCtor(final String clazz) throws Exception {
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
final Class<Lexer> lexer = (Class<Lexer>) Class.forName("org.apache.commons.csv." + clazz);
|
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 lexer.getConstructor(new Class<?>[]{CSVFormat.class, ExtendedBufferedReader.class});
|
||||||
return ctor;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void testCSVLexer(final boolean newToken, final String test) throws Exception {
|
private static void testCSVLexer(final boolean newToken, final String test) throws Exception {
|
||||||
|
|
Loading…
Reference in New Issue