correzione errore for input string
This commit is contained in:
@@ -44,6 +44,9 @@ public class ReceiptsDialog implements IReceiptsParser {
|
||||
Object codAnag = setupGest.getImportSetup(connection, typeImport, formatImport, "COD_ANAG");
|
||||
|
||||
while ((line = br.readLine()) != null) {
|
||||
if (UtilityString.isNullOrEmpty(line))
|
||||
continue;
|
||||
|
||||
String idRecord = line.substring(0, 1);
|
||||
|
||||
String codMdep = null;
|
||||
@@ -232,7 +235,7 @@ public class ReceiptsDialog implements IReceiptsParser {
|
||||
}
|
||||
} finally {
|
||||
//if(list.size() == 0)
|
||||
list.add(receipts);
|
||||
if (receipts != null ) list.add(receipts);
|
||||
|
||||
if (br != null) {
|
||||
br.close();
|
||||
|
||||
Reference in New Issue
Block a user