diff options
author | Brett Porter <brett@apache.org> | 2009-03-17 13:40:10 +0000 |
---|---|---|
committer | Brett Porter <brett@apache.org> | 2009-03-17 13:40:10 +0000 |
commit | 3cdb8ce93405bb47b021482e798944c2f00bc557 (patch) | |
tree | 23a4ca1d76b02cb7c192560607429e73745eece5 /archiva-cli/src/main | |
parent | 51ad4bdec94c15ff08d73032e3f9f580f8004aee (diff) | |
download | archiva-3cdb8ce93405bb47b021482e798944c2f00bc557.tar.gz archiva-3cdb8ce93405bb47b021482e798944c2f00bc557.zip |
start adding Java5 features to modules
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@755239 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-cli/src/main')
-rw-r--r-- | archiva-cli/src/main/java/org/apache/maven/archiva/cli/ArtifactCountConsumer.java | 8 | ||||
-rw-r--r-- | archiva-cli/src/main/java/org/apache/maven/archiva/cli/ProjectReaderConsumer.java | 8 |
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; } |