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

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


The following commit(s) were added to refs/heads/4_0_X by this push:
     new a819bb358f [SYNCOPE-1985] Fix typo in AnyTypeKeyComparator causing 
incorrect AnyType ordering (#1460)
a819bb358f is described below

commit a819bb358fa35c9aa48fa66b1b340a041c7706ac
Author: alberto bogi <[email protected]>
AuthorDate: Fri Jul 17 15:19:50 2026 +0200

    [SYNCOPE-1985] Fix typo in AnyTypeKeyComparator causing incorrect AnyType 
ordering (#1460)
---
 .../java/org/apache/syncope/client/console/rest/AnyTypeRestClient.java  | 2 +-
 .../java/org/apache/syncope/client/enduser/rest/AnyTypeRestClient.java  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/client/idrepo/console/src/main/java/org/apache/syncope/client/console/rest/AnyTypeRestClient.java
 
b/client/idrepo/console/src/main/java/org/apache/syncope/client/console/rest/AnyTypeRestClient.java
index b7baf263a5..c583a24647 100644
--- 
a/client/idrepo/console/src/main/java/org/apache/syncope/client/console/rest/AnyTypeRestClient.java
+++ 
b/client/idrepo/console/src/main/java/org/apache/syncope/client/console/rest/AnyTypeRestClient.java
@@ -80,7 +80,7 @@ public class AnyTypeRestClient extends BaseRestClient {
             if (AnyTypeKind.GROUP.name().equals(o1)) {
                 return -1;
             }
-            if (AnyTypeKind.GROUP.name().equals(2)) {
+            if (AnyTypeKind.GROUP.name().equals(o2)) {
                 return 1;
             }
             return ObjectUtils.compare(o1, o2);
diff --git 
a/client/idrepo/enduser/src/main/java/org/apache/syncope/client/enduser/rest/AnyTypeRestClient.java
 
b/client/idrepo/enduser/src/main/java/org/apache/syncope/client/enduser/rest/AnyTypeRestClient.java
index b24a0e0254..927c85577e 100644
--- 
a/client/idrepo/enduser/src/main/java/org/apache/syncope/client/enduser/rest/AnyTypeRestClient.java
+++ 
b/client/idrepo/enduser/src/main/java/org/apache/syncope/client/enduser/rest/AnyTypeRestClient.java
@@ -80,7 +80,7 @@ public class AnyTypeRestClient extends BaseRestClient {
             if (AnyTypeKind.GROUP.name().equals(o1)) {
                 return -1;
             }
-            if (AnyTypeKind.GROUP.name().equals(2)) {
+            if (AnyTypeKind.GROUP.name().equals(o2)) {
                 return 1;
             }
             return ObjectUtils.compare(o1, o2);

Reply via email to