Убрана неиспользуемая переменная
This commit is contained in:
parent
eb4f21fd4e
commit
646d8c8ad1
@ -85,11 +85,10 @@ public class CsvReader<T> {
|
|||||||
}
|
}
|
||||||
String line;
|
String line;
|
||||||
while ( (line = reader.readLine()) != null ) {
|
while ( (line = reader.readLine()) != null ) {
|
||||||
T obj = null;
|
|
||||||
try {
|
try {
|
||||||
if (!line.isEmpty()) {
|
if (!line.isEmpty()) {
|
||||||
String[] params = line.split(separator);
|
String[] params = line.split(separator);
|
||||||
obj = (T) handler.createObject(params);
|
handler.createObject(params);
|
||||||
}
|
}
|
||||||
} catch (RuntimeException ex) {
|
} catch (RuntimeException ex) {
|
||||||
Util.handleException(ex);
|
Util.handleException(ex);
|
||||||
|
Loading…
Reference in New Issue
Block a user