Skip to content

Commit

Permalink
Fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Bombino1024 committed Jul 7, 2023
1 parent fa95afd commit 8366ffb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/digital/slovensko/autogram/core/SigningJob.java
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,11 @@ private String transform() {
}

private DOMSource extractFromXDC(Document document, DocumentBuilderFactory builderFactory)
throws ParserConfigurationException {
throws ParserConfigurationException {
var xdc = document.getDocumentElement();

var xmlData = xdc.getElementsByTagNameNS("http://data.gov.sk/def/container/xmldatacontainer+xml/1.1", "XMLData")
.item(0);
.item(0);

if (xmlData == null)
throw new RuntimeException("XMLData not found in XDC"); // TODO catch somewhere
Expand Down

0 comments on commit 8366ffb

Please sign in to comment.