Skip to content

Commit

Permalink
Modify the label to match the logic of IN
Browse files Browse the repository at this point in the history
  • Loading branch information
chenzhiguo committed Dec 19, 2024
1 parent 3984466 commit 6154bd1
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,11 @@ public boolean isMatch(List<String> values, List<String> args) {
return false;
}
for (String value : values) {
if (!args.contains(value)) {
return false;
if (args.contains(value)) {
return true;
}
}
return true;
return false;
}
},

Expand Down Expand Up @@ -202,7 +202,7 @@ public boolean isMatch(List<String> values, List<String> args) {
* for this operation type.
*
* @param values the list of values to match against
* @param args the list of arguments to test for a match
* @param args the list of arguments to test for a match
* @return true if the argument matches the criteria, false otherwise
*/
public boolean isMatch(List<String> values, List<String> args) {
Expand Down

0 comments on commit 6154bd1

Please sign in to comment.