]> source.dussan.org Git - archiva.git/commitdiff
Fixing bad method parameter
authorMartin Stockhammer <martin_s@apache.org>
Wed, 19 Feb 2020 21:12:55 +0000 (22:12 +0100)
committerMartin Stockhammer <martin_s@apache.org>
Wed, 19 Feb 2020 21:12:55 +0000 (22:12 +0100)
archiva-modules/archiva-base/archiva-repository-api/src/main/java/org/apache/archiva/repository/content/ItemSelector.java
archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/archiva/repository/content/base/ArchivaItemSelector.java

index 92f14568264bf698a5d2f2346328e9a16f2f44ad..8a4aeb05572cc85451f449da5308a19b28aef050 100644 (file)
@@ -45,7 +45,7 @@ public interface ItemSelector
 
     String getAttribute( String key );
 
-    String getExtension( String extension );
+    String getExtension( );
 
     Map<String, String> getAttributes( );
 
index c66d90a69a8e942065e6b8ae8abfaa85ed93d09b..f50a3910b80bcc35aacc671a018606062d918cfb 100644 (file)
@@ -190,9 +190,9 @@ public class ArchivaItemSelector implements ItemSelector
     }
 
     @Override
-    public String getExtension( String extension )
+    public String getExtension(  )
     {
-        return null;
+        return extension;
     }
 
     @Override