summaryrefslogtreecommitdiffstats
path: root/archiva-modules/metadata/metadata-model/src
diff options
context:
space:
mode:
authorBrett Porter <brett@apache.org>2009-11-20 12:14:04 +0000
committerBrett Porter <brett@apache.org>2009-11-20 12:14:04 +0000
commit05d2784124cb48259973715da6db1e32840a574d (patch)
tree4fda14bab04c1fa2b271e06775ffc404e17a3655 /archiva-modules/metadata/metadata-model/src
parentb1866d7dd0324f82703d40ae7b65f5149844e529 (diff)
downloadarchiva-05d2784124cb48259973715da6db1e32840a574d.tar.gz
archiva-05d2784124cb48259973715da6db1e32840a574d.zip
[MRM-1282] load content only from a single node at a time
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@882532 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/metadata/metadata-model/src')
-rw-r--r--archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/ProjectBuildMetadata.java15
-rw-r--r--archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/ProjectMetadata.java15
2 files changed, 0 insertions, 30 deletions
diff --git a/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/ProjectBuildMetadata.java b/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/ProjectBuildMetadata.java
index 35e7d4505..8b2d707d8 100644
--- a/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/ProjectBuildMetadata.java
+++ b/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/ProjectBuildMetadata.java
@@ -19,16 +19,10 @@ package org.apache.archiva.metadata.model;
* under the License.
*/
-import java.util.Collection;
-import java.util.LinkedHashMap;
-import java.util.Map;
-
public class ProjectBuildMetadata
{
private String id;
- private Map<String, ArtifactMetadata> artifacts = new LinkedHashMap<String, ArtifactMetadata>();
-
public String getId()
{
return id;
@@ -39,13 +33,4 @@ public class ProjectBuildMetadata
this.id = id;
}
- public void addArtifact( ArtifactMetadata artifact )
- {
- this.artifacts.put( artifact.getId(), artifact );
- }
-
- public Collection<ArtifactMetadata> getArtifacts()
- {
- return artifacts.values();
- }
}
diff --git a/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/ProjectMetadata.java b/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/ProjectMetadata.java
index 528642920..09707e2d3 100644
--- a/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/ProjectMetadata.java
+++ b/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/ProjectMetadata.java
@@ -19,15 +19,9 @@ package org.apache.archiva.metadata.model;
* under the License.
*/
-import java.util.Collection;
-import java.util.LinkedHashMap;
-import java.util.Map;
-
public class ProjectMetadata
{
private String id;
-
- private Map<String, ProjectBuildMetadata> builds = new LinkedHashMap<String, ProjectBuildMetadata>();
public void setId( String id )
{
@@ -39,13 +33,4 @@ public class ProjectMetadata
return id;
}
- public void addBuild( ProjectBuildMetadata build )
- {
- this.builds.put( build.getId(), build );
- }
-
- public Collection<ProjectBuildMetadata> getBuilds()
- {
- return builds.values();
- }
}