mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Use Map#forEach instead of Map#entrySet#forEach
See gh-1449
This commit is contained in:
+1
-1
@@ -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