correzione errore for input string

This commit is contained in:
2024-07-09 18:47:39 +02:00
parent a5518de1c1
commit 87fb1868f0

View File

@@ -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();