summaryrefslogtreecommitdiffstats
path: root/archiva-modules/plugins/npanday-support
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2014-04-10 23:11:38 +1000
committerOlivier Lamy <olamy@apache.org>2014-04-10 23:11:38 +1000
commitd6c28781b0b0f9de8142c8b96b810ab6c415cb26 (patch)
tree99e10f3e0058db84f706d5dc5998a64e75357e98 /archiva-modules/plugins/npanday-support
parentb244153061054a1efd45e2d07d69b751070660f2 (diff)
downloadarchiva-d6c28781b0b0f9de8142c8b96b810ab6c415cb26.tar.gz
archiva-d6c28781b0b0f9de8142c8b96b810ab6c415cb26.zip
more diamond
Diffstat (limited to 'archiva-modules/plugins/npanday-support')
-rw-r--r--archiva-modules/plugins/npanday-support/src/main/java/org/apache/archiva/plugins/npanday/NPandayArtifactMappingProvider.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/archiva-modules/plugins/npanday-support/src/main/java/org/apache/archiva/plugins/npanday/NPandayArtifactMappingProvider.java b/archiva-modules/plugins/npanday-support/src/main/java/org/apache/archiva/plugins/npanday/NPandayArtifactMappingProvider.java
index f8a60905a..76b79e282 100644
--- a/archiva-modules/plugins/npanday-support/src/main/java/org/apache/archiva/plugins/npanday/NPandayArtifactMappingProvider.java
+++ b/archiva-modules/plugins/npanday-support/src/main/java/org/apache/archiva/plugins/npanday/NPandayArtifactMappingProvider.java
@@ -37,7 +37,7 @@ public class NPandayArtifactMappingProvider
public NPandayArtifactMappingProvider()
{
- extensionToTypeMap = new HashMap<String, String>();
+ extensionToTypeMap = new HashMap<>();
// TODO: this could be one of many - we need to look up the artifact metadata from the POM instead
// should do this anyway so that plugins don't compete for providing an extension
@@ -46,7 +46,7 @@ public class NPandayArtifactMappingProvider
extensionToTypeMap.put( "netmodule", "dotnet-module" );
extensionToTypeMap.put( "exe", "dotnet-executable" );
- typeToExtensionMap = new HashMap<String, String>();
+ typeToExtensionMap = new HashMap<>();
typeToExtensionMap.put( "dotnet-library", "dll" );
typeToExtensionMap.put( "dotnet-library-config", "dll.config" );
typeToExtensionMap.put( "dotnet-executable", "exe" );