mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
ArrayContainsExpression equals() to use enhanced for loop
This commit is contained in:
+2
-2
@@ -52,8 +52,8 @@ public class ArrayContainsExpression extends AbstractExpression {
|
||||
@Override
|
||||
public void queryBindHash(BindHash hash) {
|
||||
hash.update(values.length);
|
||||
for (int i = 0; i < values.length; i++) {
|
||||
hash.update(values[i]);
|
||||
for (Object value : values) {
|
||||
hash.update(value);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user