Skip to content

Commit

Permalink
Update metafacture-xml/src/main/java/org/metafacture/xml/SimpleXmlEnc…
Browse files Browse the repository at this point in the history
…oder.java

Co-authored-by: Jens Wille <[email protected]>
  • Loading branch information
dr0i and blackwinter authored Mar 19, 2024
1 parent cb6d768 commit a2a43ad
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -371,9 +371,7 @@ private boolean isDefaultNamespace(final String ns) {
}

private void propertiesToMap(final Properties properties) {
for (final Entry<Object, Object> entry : properties.entrySet()) {
namespaces.put(entry.getKey().toString(), entry.getValue().toString());
}
properties.forEach((k, v) -> namespaces.put(k.toString(), v.toString()));
}

/**
Expand Down

0 comments on commit a2a43ad

Please sign in to comment.