Use Map#forEach instead of Map#entrySet#forEach
See gh-1449
This commit is contained in:
@@ -48,7 +48,7 @@ public class BindingAwareConcurrentModel extends ConcurrentModel {
|
||||
|
||||
@Override
|
||||
public void putAll(Map<? extends String, ?> map) {
|
||||
map.entrySet().forEach(e -> removeBindingResultIfNecessary(e.getKey(), e.getValue()));
|
||||
map.forEach(this::removeBindingResultIfNecessary);
|
||||
super.putAll(map);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user