Commit fe39a912 authored by Stephane Nicoll's avatar Stephane Nicoll

Merge branch '2.3.x'

Closes gh-22331
parents 4d1a19f3 7c733bf6
......@@ -405,6 +405,11 @@ public final class ConditionMessage {
protected Object applyToItem(Object item) {
return item;
}
@Override
public Collection<?> applyTo(Collection<?> items) {
return items;
}
},
QUOTE {
......@@ -415,7 +420,7 @@ public final class ConditionMessage {
};
public Collection<?> applyTo(Collection<?> items) {
List<Object> result = new ArrayList<>();
List<Object> result = new ArrayList<>(items.size());
for (Object item : items) {
result.add(applyToItem(item));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment