diff options
author | Martin Stockhammer <martin_s@apache.org> | 2020-02-19 22:12:55 +0100 |
---|---|---|
committer | Martin Stockhammer <martin_s@apache.org> | 2020-02-19 22:12:55 +0100 |
commit | bf97acf0e0786c9c2b560de24e44729e7a5d77f2 (patch) | |
tree | 7df9f56b5b1d27ddac57abd93734f08298359a03 /archiva-modules/archiva-base | |
parent | 8f76db13f463db0006c4ca57c282a18fb9cf58f3 (diff) | |
download | archiva-bf97acf0e0786c9c2b560de24e44729e7a5d77f2.tar.gz archiva-bf97acf0e0786c9c2b560de24e44729e7a5d77f2.zip |
Fixing bad method parameter
Diffstat (limited to 'archiva-modules/archiva-base')
2 files changed, 3 insertions, 3 deletions
diff --git a/archiva-modules/archiva-base/archiva-repository-api/src/main/java/org/apache/archiva/repository/content/ItemSelector.java b/archiva-modules/archiva-base/archiva-repository-api/src/main/java/org/apache/archiva/repository/content/ItemSelector.java index 92f145682..8a4aeb055 100644 --- a/archiva-modules/archiva-base/archiva-repository-api/src/main/java/org/apache/archiva/repository/content/ItemSelector.java +++ b/archiva-modules/archiva-base/archiva-repository-api/src/main/java/org/apache/archiva/repository/content/ItemSelector.java @@ -45,7 +45,7 @@ public interface ItemSelector String getAttribute( String key ); - String getExtension( String extension ); + String getExtension( ); Map<String, String> getAttributes( ); diff --git a/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/archiva/repository/content/base/ArchivaItemSelector.java b/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/archiva/repository/content/base/ArchivaItemSelector.java index c66d90a69..f50a3910b 100644 --- a/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/archiva/repository/content/base/ArchivaItemSelector.java +++ b/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/archiva/repository/content/base/ArchivaItemSelector.java @@ -190,9 +190,9 @@ public class ArchivaItemSelector implements ItemSelector } @Override - public String getExtension( String extension ) + public String getExtension( ) { - return null; + return extension; } @Override |