This commit is contained in:
jstaerk
2025-04-22 11:25:41 +02:00
parent 443183e928
commit 9b0f514135
2 changed files with 4 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
- #819
- #458
- #788
-
- #790
2.16.4
=======
2025-04-19

View File

@@ -29,7 +29,7 @@ public class LegalOrganisation implements IZUGFeRDLegalOrganisation {
public LegalOrganisation(SchemedID schemedID, String tradingBusinessName) {
this.schemedID = schemedID;
this.tradingBusinessName=tradingBusinessName;
this.tradingBusinessName = tradingBusinessName;
}
/***
@@ -54,8 +54,8 @@ public class LegalOrganisation implements IZUGFeRDLegalOrganisation {
this.setSchemedID(gid);
}
}
if (currentItemNode.getLocalName().equals("TradingBusinessName")) {
setTradingBusinessName(currentItemNode.getFirstChild().getNodeValue());
if ((currentItemNode.getLocalName().equals("TradingBusinessName")) && (currentItemNode.getFirstChild() != null)) {
setTradingBusinessName(currentItemNode.getFirstChild().getNodeValue());
}
}
}