diff options
author | Olivier Lamy <olamy@apache.org> | 2014-04-10 11:43:11 +1000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2014-04-10 11:43:11 +1000 |
commit | d9de8dc7afe4a1e22257a9437d68649eee8f3047 (patch) | |
tree | 89e49278beea7304252fd217a35a865986647a44 /archiva-modules/archiva-base/archiva-artifact-converter/src/main | |
parent | ff99d5a203756c31bcf4a8a98ec4c25cb423ad74 (diff) | |
download | archiva-d9de8dc7afe4a1e22257a9437d68649eee8f3047.tar.gz archiva-d9de8dc7afe4a1e22257a9437d68649eee8f3047.zip |
use diamond operator
Diffstat (limited to 'archiva-modules/archiva-base/archiva-artifact-converter/src/main')
-rw-r--r-- | archiva-modules/archiva-base/archiva-artifact-converter/src/main/java/org/apache/archiva/converter/artifact/LegacyToDefaultConverter.java | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/archiva-modules/archiva-base/archiva-artifact-converter/src/main/java/org/apache/archiva/converter/artifact/LegacyToDefaultConverter.java b/archiva-modules/archiva-base/archiva-artifact-converter/src/main/java/org/apache/archiva/converter/artifact/LegacyToDefaultConverter.java index 4fe0536a9..f55e1e523 100644 --- a/archiva-modules/archiva-base/archiva-artifact-converter/src/main/java/org/apache/archiva/converter/artifact/LegacyToDefaultConverter.java +++ b/archiva-modules/archiva-base/archiva-artifact-converter/src/main/java/org/apache/archiva/converter/artifact/LegacyToDefaultConverter.java @@ -82,29 +82,14 @@ public class LegacyToDefaultConverter @Inject private DigesterUtils digesterUtils; - /** - * - */ private ModelConverter translator; - /** - * - */ private ArtifactFactory artifactFactory; - /** - * - */ private ArtifactHandlerManager artifactHandlerManager; - /** - * default-value="false" - */ private boolean force; - /** - * default-value="false" - */ private boolean dryrun; private Map<Artifact, List<String>> warnings = new HashMap<Artifact, List<String>>(); @@ -686,7 +671,7 @@ public class LegacyToDefaultConverter List<String> messages = warnings.get( artifact ); if ( messages == null ) { - messages = new ArrayList<String>( 1 ); + messages = new ArrayList<>( 1 ); } messages.add( message ); warnings.put( artifact, messages ); |