You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2022/06/16 12:01:56 UTC
[syncope] branch master updated: Fix typo
This is an automated email from the ASF dual-hosted git repository.
ilgrosso pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/syncope.git
The following commit(s) were added to refs/heads/master by this push:
new 180560aa9f Fix typo
180560aa9f is described below
commit 180560aa9fb94b66edb21851b165659381c5b620
Author: Francesco Chicchiriccò <il...@apache.org>
AuthorDate: Thu Jun 16 14:01:49 2022 +0200
Fix typo
---
.../org/apache/syncope/core/persistence/api/dao/search/SearchCond.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/persistence-api/src/main/java/org/apache/syncope/core/persistence/api/dao/search/SearchCond.java b/core/persistence-api/src/main/java/org/apache/syncope/core/persistence/api/dao/search/SearchCond.java
index 112e56f78c..8e3ce96334 100644
--- a/core/persistence-api/src/main/java/org/apache/syncope/core/persistence/api/dao/search/SearchCond.java
+++ b/core/persistence-api/src/main/java/org/apache/syncope/core/persistence/api/dao/search/SearchCond.java
@@ -101,7 +101,7 @@ public class SearchCond extends AbstractSearchCond {
if (conditions.size() == 1) {
return conditions.get(0);
} else if (conditions.size() > 2) {
- return getOr(conditions.get(0), getAnd(conditions.subList(1, conditions.size())));
+ return getOr(conditions.get(0), getOr(conditions.subList(1, conditions.size())));
} else {
return getOr(conditions.get(0), conditions.get(1));
}