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/archiva-base/archiva-artifact-converter/src | |
parent | d44d957734badacce74293846d11b3b736b9a478 (diff) | |
download | archiva-99117364be2b27ddb74fc6ffe3e052e0ad52d8dd.tar.gz archiva-99117364be2b27ddb74fc6ffe3e052e0ad52d8dd.zip |
one move for all remaining override annotation
Diffstat (limited to 'archiva-modules/archiva-base/archiva-artifact-converter/src')
2 files changed, 6 insertions, 0 deletions
diff --git a/archiva-modules/archiva-base/archiva-artifact-converter/src/main/java/org/apache/archiva/converter/artifact/LegacyRepositoryLayout.java b/archiva-modules/archiva-base/archiva-artifact-converter/src/main/java/org/apache/archiva/converter/artifact/LegacyRepositoryLayout.java index c418dd1bc..310123693 100644 --- a/archiva-modules/archiva-base/archiva-artifact-converter/src/main/java/org/apache/archiva/converter/artifact/LegacyRepositoryLayout.java +++ b/archiva-modules/archiva-base/archiva-artifact-converter/src/main/java/org/apache/archiva/converter/artifact/LegacyRepositoryLayout.java @@ -38,6 +38,7 @@ public class LegacyRepositoryLayout return "legacy"; } + @Override public String pathOf( Artifact artifact ) { ArtifactHandler artifactHandler = artifact.getArtifactHandler(); @@ -61,6 +62,7 @@ public class LegacyRepositoryLayout return path.toString(); } + @Override public String pathOfLocalRepositoryMetadata( ArtifactMetadata metadata, ArtifactRepository repository ) { return pathOfRepositoryMetadata( metadata, metadata.getLocalFilename( repository ) ); @@ -77,6 +79,7 @@ public class LegacyRepositoryLayout return path.toString(); } + @Override public String pathOfRemoteRepositoryMetadata( ArtifactMetadata metadata ) { return pathOfRepositoryMetadata( metadata, metadata.getRemoteFilename() ); diff --git a/archiva-modules/archiva-base/archiva-artifact-converter/src/main/java/org/apache/archiva/converter/artifact/LegacyToDefaultConverter.java b/archiva-modules/archiva-base/archiva-artifact-converter/src/main/java/org/apache/archiva/converter/artifact/LegacyToDefaultConverter.java index 4e916779b..3635408df 100644 --- a/archiva-modules/archiva-base/archiva-artifact-converter/src/main/java/org/apache/archiva/converter/artifact/LegacyToDefaultConverter.java +++ b/archiva-modules/archiva-base/archiva-artifact-converter/src/main/java/org/apache/archiva/converter/artifact/LegacyToDefaultConverter.java @@ -104,6 +104,7 @@ public class LegacyToDefaultConverter artifactHandlerManager = plexusSisuBridge.lookup( ArtifactHandlerManager.class ); } + @Override public void convert( Artifact artifact, ArtifactRepository targetRepository ) throws ArtifactConversionException { @@ -677,11 +678,13 @@ public class LegacyToDefaultConverter warnings.put( artifact, messages ); } + @Override public void clearWarnings() { warnings.clear(); } + @Override public Map<Artifact, List<String>> getWarnings() { return warnings; |