This is an automated email from the ASF dual-hosted git repository.

martin_s pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/archiva-components.git


The following commit(s) were added to refs/heads/master by this push:
     new fc48975  Fixing method signatures
fc48975 is described below

commit fc489756fc24b4e0d597a99e8d0523b03e29f810
Author: Martin Stockhammer <[email protected]>
AuthorDate: Fri Jan 1 18:37:28 2021 +0100

    Fixing method signatures
---
 .../java/org/apache/archiva/components/rest/util/QueryHelper.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/rest-util/src/main/java/org/apache/archiva/components/rest/util/QueryHelper.java
 
b/rest-util/src/main/java/org/apache/archiva/components/rest/util/QueryHelper.java
index a111fab..c4b9d9c 100644
--- 
a/rest-util/src/main/java/org/apache/archiva/components/rest/util/QueryHelper.java
+++ 
b/rest-util/src/main/java/org/apache/archiva/components/rest/util/QueryHelper.java
@@ -92,7 +92,7 @@ public class QueryHelper<T>
      * @param attributeName the name of the attribute.
      * @return
      */
-    Comparator<T> getAttributeComparator( String attributeName )
+    public Comparator<T> getAttributeComparator( String attributeName )
     {
         return ORDER_MAP.get( attributeName );
     }
@@ -104,7 +104,7 @@ public class QueryHelper<T>
      * @param ascending
      * @return
      */
-    Comparator<T> getComparator( List<String> orderBy, boolean ascending )
+    public Comparator<T> getComparator( List<String> orderBy, boolean 
ascending )
     {
         if ( ascending )
         {
@@ -127,7 +127,7 @@ public class QueryHelper<T>
      * @param queryToken the search token.
      * @return The predicate used to filter the token
      */
-    Predicate<T> getAttributeQueryFilter( final String attribute, final String 
queryToken )
+    public Predicate<T> getAttributeQueryFilter( final String attribute, final 
String queryToken )
     {
         if ( FILTER_MAP.containsKey( attribute ) )
         {
@@ -146,7 +146,7 @@ public class QueryHelper<T>
      * @param queryTerms the query string
      * @return the combined query filter
      */
-    Predicate<T> getQueryFilter( String queryTerms )
+    public Predicate<T> getQueryFilter( String queryTerms )
     {
         return Arrays.stream( queryTerms.split( "\\s+" ) )
             .map( s -> {

Reply via email to