aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-base
diff options
context:
space:
mode:
authorMartin Stockhammer <martin_s@apache.org>2020-02-19 22:12:55 +0100
committerMartin Stockhammer <martin_s@apache.org>2020-02-19 22:12:55 +0100
commitbf97acf0e0786c9c2b560de24e44729e7a5d77f2 (patch)
tree7df9f56b5b1d27ddac57abd93734f08298359a03 /archiva-modules/archiva-base
parent8f76db13f463db0006c4ca57c282a18fb9cf58f3 (diff)
downloadarchiva-bf97acf0e0786c9c2b560de24e44729e7a5d77f2.tar.gz
archiva-bf97acf0e0786c9c2b560de24e44729e7a5d77f2.zip
Fixing bad method parameter
Diffstat (limited to 'archiva-modules/archiva-base')
-rw-r--r--archiva-modules/archiva-base/archiva-repository-api/src/main/java/org/apache/archiva/repository/content/ItemSelector.java2
-rw-r--r--archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/archiva/repository/content/base/ArchivaItemSelector.java4
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