diff options
author | Eric Barboni <skygo@apache.org> | 2014-04-11 23:46:35 +0200 |
---|---|---|
committer | Eric Barboni <skygo@apache.org> | 2014-04-11 23:46:35 +0200 |
commit | 99117364be2b27ddb74fc6ffe3e052e0ad52d8dd (patch) | |
tree | 5aa6ee887b1cf3c1659f83b7c561a728c0ee4555 /archiva-modules/metadata/metadata-model-maven2 | |
parent | d44d957734badacce74293846d11b3b736b9a478 (diff) | |
download | archiva-99117364be2b27ddb74fc6ffe3e052e0ad52d8dd.tar.gz archiva-99117364be2b27ddb74fc6ffe3e052e0ad52d8dd.zip |
one move for all remaining override annotation
Diffstat (limited to 'archiva-modules/metadata/metadata-model-maven2')
-rw-r--r-- | archiva-modules/metadata/metadata-model-maven2/src/main/java/org/apache/archiva/metadata/model/maven2/MavenArtifactFacet.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/archiva-modules/metadata/metadata-model-maven2/src/main/java/org/apache/archiva/metadata/model/maven2/MavenArtifactFacet.java b/archiva-modules/metadata/metadata-model-maven2/src/main/java/org/apache/archiva/metadata/model/maven2/MavenArtifactFacet.java index 7c4a9383b..56580f38f 100644 --- a/archiva-modules/metadata/metadata-model-maven2/src/main/java/org/apache/archiva/metadata/model/maven2/MavenArtifactFacet.java +++ b/archiva-modules/metadata/metadata-model-maven2/src/main/java/org/apache/archiva/metadata/model/maven2/MavenArtifactFacet.java @@ -78,17 +78,20 @@ public class MavenArtifactFacet this.buildNumber = buildNumber; } + @Override public String getFacetId() { return FACET_ID; } + @Override public String getName() { // TODO: not needed, perhaps artifact/version metadata facet should be separate interface? return null; } + @Override public Map<String, String> toProperties() { Map<String, String> properties = new HashMap<>(); @@ -108,6 +111,7 @@ public class MavenArtifactFacet return properties; } + @Override public void fromProperties( Map<String, String> properties ) { type = properties.get( "type" ); |