aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules
diff options
context:
space:
mode:
Diffstat (limited to 'archiva-modules')
-rw-r--r--archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/main/resources/archetype-resources/src/main/java/SimpleArtifactConsumer.java10
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;
}