diff options
author | Olivier Lamy <olamy@apache.org> | 2014-04-10 23:11:38 +1000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2014-04-10 23:11:38 +1000 |
commit | d6c28781b0b0f9de8142c8b96b810ab6c415cb26 (patch) | |
tree | 99e10f3e0058db84f706d5dc5998a64e75357e98 /archiva-modules/archiva-base/archiva-xml-tools | |
parent | b244153061054a1efd45e2d07d69b751070660f2 (diff) | |
download | archiva-d6c28781b0b0f9de8142c8b96b810ab6c415cb26.tar.gz archiva-d6c28781b0b0f9de8142c8b96b810ab6c415cb26.zip |
more diamond
Diffstat (limited to 'archiva-modules/archiva-base/archiva-xml-tools')
2 files changed, 2 insertions, 2 deletions
diff --git a/archiva-modules/archiva-base/archiva-xml-tools/src/main/java/org/apache/archiva/xml/LatinEntities.java b/archiva-modules/archiva-base/archiva-xml-tools/src/main/java/org/apache/archiva/xml/LatinEntities.java index 724ac9e78..51f2a46ad 100644 --- a/archiva-modules/archiva-base/archiva-xml-tools/src/main/java/org/apache/archiva/xml/LatinEntities.java +++ b/archiva-modules/archiva-base/archiva-xml-tools/src/main/java/org/apache/archiva/xml/LatinEntities.java @@ -33,7 +33,7 @@ public class LatinEntities static { - defaultEntityMap = new HashMap<String, String>(); + defaultEntityMap = new HashMap<>(); defaultEntityMap.put( "nbsp", "\u00a0" ); defaultEntityMap.put( "iexcl", "\u00a1" ); diff --git a/archiva-modules/archiva-base/archiva-xml-tools/src/main/java/org/apache/archiva/xml/XMLReader.java b/archiva-modules/archiva-base/archiva-xml-tools/src/main/java/org/apache/archiva/xml/XMLReader.java index 714b8d6e3..43cb09c4b 100644 --- a/archiva-modules/archiva-base/archiva-xml-tools/src/main/java/org/apache/archiva/xml/XMLReader.java +++ b/archiva-modules/archiva-base/archiva-xml-tools/src/main/java/org/apache/archiva/xml/XMLReader.java @@ -56,7 +56,7 @@ public class XMLReader private Document document; - private Map<String, String> namespaceMap = new HashMap<String, String>(); + private Map<String, String> namespaceMap = new HashMap<>(); public XMLReader( String type, File file ) throws XMLException |