diff options
author | Brett Porter <brett@apache.org> | 2014-07-30 13:22:50 +1000 |
---|---|---|
committer | Brett Porter <brett@apache.org> | 2014-07-30 13:22:50 +1000 |
commit | 339650b1a7e03961c94df6a3fa950f57cf846c40 (patch) | |
tree | 2df8ce10a5f091095f3065dd04bff2f067bdd782 /archiva-modules/archiva-base/archiva-consumers | |
parent | e7663d04db01ada3f3b87660b6ec49701fe3a750 (diff) | |
download | archiva-339650b1a7e03961c94df6a3fa950f57cf846c40.tar.gz archiva-339650b1a7e03961c94df6a3fa950f57cf846c40.zip |
add generics
Diffstat (limited to 'archiva-modules/archiva-base/archiva-consumers')
-rw-r--r-- | archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/main/resources/archetype-resources/src/main/java/SimpleArtifactConsumer.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/main/resources/archetype-resources/src/main/java/SimpleArtifactConsumer.java b/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/main/resources/archetype-resources/src/main/java/SimpleArtifactConsumer.java index 95b1d58e4..d5cd396e0 100644 --- a/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/main/resources/archetype-resources/src/main/java/SimpleArtifactConsumer.java +++ b/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/main/resources/archetype-resources/src/main/java/SimpleArtifactConsumer.java @@ -74,9 +74,9 @@ public class SimpleArtifactConsumer @Inject private ArchivaConfiguration configuration; - private List propertyNameTriggers = new ArrayList(); + private List<String> propertyNameTriggers = new ArrayList<>(); - private List includes = new ArrayList(); + private List<String> includes = new ArrayList<>(); /** current repository being scanned */ private ManagedRepository repository; @@ -159,7 +159,7 @@ public class SimpleArtifactConsumer @PostConstruct public void initialize() { - propertyNameTriggers = new ArrayList(); + propertyNameTriggers = new ArrayList<>(); propertyNameTriggers.add( "repositoryScanning" ); propertyNameTriggers.add( "fileTypes" ); propertyNameTriggers.add( "fileType" ); @@ -181,12 +181,12 @@ public class SimpleArtifactConsumer return this.description; } - public List getExcludes() + public List<String> getExcludes() { return null; } - public List getIncludes() + public List<String> getIncludes() { return this.includes; } |