aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-cli/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'archiva-cli/src/main')
-rw-r--r--archiva-cli/src/main/java/org/apache/maven/archiva/cli/ArtifactCountConsumer.java8
-rw-r--r--archiva-cli/src/main/java/org/apache/maven/archiva/cli/ProjectReaderConsumer.java8
2 files changed, 8 insertions, 8 deletions
diff --git a/archiva-cli/src/main/java/org/apache/maven/archiva/cli/ArtifactCountConsumer.java b/archiva-cli/src/main/java/org/apache/maven/archiva/cli/ArtifactCountConsumer.java
index bb3a7146c..bfc5f6ebc 100644
--- a/archiva-cli/src/main/java/org/apache/maven/archiva/cli/ArtifactCountConsumer.java
+++ b/archiva-cli/src/main/java/org/apache/maven/archiva/cli/ArtifactCountConsumer.java
@@ -47,12 +47,12 @@ public class ArtifactCountConsumer
*/
private String description;
- private List includes;
+ private List<String> includes;
public ArtifactCountConsumer()
{
// TODO: shouldn't this use filetypes?
- includes = new ArrayList();
+ includes = new ArrayList<String>();
includes.add( "**/*.pom" );
includes.add( "**/*.jar" );
includes.add( "**/*.war" );
@@ -82,12 +82,12 @@ public class ArtifactCountConsumer
return false;
}
- public List getExcludes()
+ public List<String> getExcludes()
{
return null;
}
- public List getIncludes()
+ public List<String> getIncludes()
{
return includes;
}
diff --git a/archiva-cli/src/main/java/org/apache/maven/archiva/cli/ProjectReaderConsumer.java b/archiva-cli/src/main/java/org/apache/maven/archiva/cli/ProjectReaderConsumer.java
index b0eb6edc0..be19a1a01 100644
--- a/archiva-cli/src/main/java/org/apache/maven/archiva/cli/ProjectReaderConsumer.java
+++ b/archiva-cli/src/main/java/org/apache/maven/archiva/cli/ProjectReaderConsumer.java
@@ -59,13 +59,13 @@ public class ProjectReaderConsumer
private ManagedRepositoryConfiguration repo;
- private List includes;
+ private List<String> includes;
public ProjectReaderConsumer()
{
reader = new ProjectModel400Reader();
- includes = new ArrayList();
+ includes = new ArrayList<String>();
includes.add( "**/*.pom" );
}
@@ -84,12 +84,12 @@ public class ProjectReaderConsumer
return false;
}
- public List getExcludes()
+ public List<String> getExcludes()
{
return null;
}
- public List getIncludes()
+ public List<String> getIncludes()
{
return includes;
}