Skip to content

Commit

Permalink
remove unnecessary todos
Browse files Browse the repository at this point in the history
  • Loading branch information
sebbader-sap committed Oct 27, 2023
1 parent a7fd2b0 commit 7e64d11
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ protected void buildMapper() {

protected SimpleModule buildCustomSerializerModule() {
SimpleModule module = new SimpleModule();
// TODO: module.addSerializer(EmbeddedDataSpecification.class, new EmbeddedDataSpecificationSerializer());
return module;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,8 @@ private String removeDefaults(String aasXml) {
aasXml = aasXml.replace("<test:kind>Instance</test:kind>", "");
aasXml = aasXml.replace("<aas:category>VARIABLE</aas:category>", "");
aasXml = aasXml.replace("<test:category>VARIABLE</test:category>", "");
aasXml = aasXml.replace("<aas:category>PROPERTY</aas:category>", ""); // TODO: only for ConceptDescriptions
aasXml = aasXml.replace("<test:category>PROPERTY</test:category>", ""); // TODO: only for ConceptDescriptions
aasXml = aasXml.replace("<aas:category>PROPERTY</aas:category>", "");
aasXml = aasXml.replace("<test:category>PROPERTY</test:category>", "");
aasXml = aasXml.replace("<aas:kind>ConceptQualifier</aas:kind>", "");
aasXml = aasXml.replace("<test:kind>ConceptQualifier</test:kind>", "");
aasXml = aasXml.replace("<aas:orderRelevant>true</aas:orderRelevant>", "");
Expand All @@ -243,7 +243,7 @@ private boolean ignoreDefaults(Node node) {

if (node.getLocalName() != null
&& node.getLocalName().equals("category")
&& node.getFirstChild().getNodeValue().equals("PROPERTY")) { // TODO: only for ConceptDescriptions
&& node.getFirstChild().getNodeValue().equals("PROPERTY")) {
return false;
}

Expand Down

0 comments on commit 7e64d11

Please sign in to comment.