Skip to content

Commit

Permalink
Review comments
Browse files Browse the repository at this point in the history
RISDEV-5645
  • Loading branch information
rvp-c committed Dec 6, 2024
1 parent 1a5cec3 commit fe8d7c3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ public static void convert(
} else if (content instanceof JAXBElement<?> jaxbElement) {
unhandledElements.add(
new UnhandledElement(
"paragraph",
"hyperlink",
jaxbElement.getDeclaredType().toString(),
UnhandledElementType.JAXB));
} else {
unhandledElements.add(
new UnhandledElement(
"paragraph", content.getClass().toString(), UnhandledElementType.OBJECT));
"hyperlink", content.getClass().toString(), UnhandledElementType.OBJECT));
}
});
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
package de.bund.digitalservice.ris.caselaw.domain.docx;

/**
* Element type for unhandled elements to know on xml parsing was used for the xml element.
* Hopefully easier to find for the later implementation of the element.
*/
public enum UnhandledElementType {
JAXB,
OBJECT
Expand Down

0 comments on commit fe8d7c3

Please sign in to comment.