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

ilgrosso pushed a commit to branch 2_1_X
in repository https://gitbox.apache.org/repos/asf/syncope.git


The following commit(s) were added to refs/heads/2_1_X by this push:
     new 9e2992e  Remove useless toString()
9e2992e is described below

commit 9e2992ef17762009fbc94202741b720255cb5b68
Author: Francesco Chicchiriccò <ilgro...@apache.org>
AuthorDate: Sat Feb 27 11:06:13 2021 +0100

    Remove useless toString()
---
 .../org/apache/syncope/client/console/panels/search/SearchUtils.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/client/console/src/main/java/org/apache/syncope/client/console/panels/search/SearchUtils.java
 
b/client/console/src/main/java/org/apache/syncope/client/console/panels/search/SearchUtils.java
index 18c4f42..a1bf0fa 100644
--- 
a/client/console/src/main/java/org/apache/syncope/client/console/panels/search/SearchUtils.java
+++ 
b/client/console/src/main/java/org/apache/syncope/client/console/panels/search/SearchUtils.java
@@ -243,7 +243,7 @@ public final class SearchUtils implements Serializable {
                 String value = clause.getValue() == null
                         ? null
                         : ENCODINGS.keySet().stream().
-                                reduce(clause.getValue().toString(), (s, k) -> 
s.replace(k, ENCODINGS.get(k)));
+                                reduce(clause.getValue(), (s, k) -> 
s.replace(k, ENCODINGS.get(k)));
 
                 switch (clause.getType()) {
                     case GROUP_MEMBER:

Reply via email to