As a leftover of our general Java 8+ codebase revision and a follow-up to several recent polishing commits, one grand sweep is missing still: the use of Map.forEach instead of manual Map.Entry iteration in all places where no return clauses or checked exceptions are involved. That said, we do not switch to use of the Stream API for simple scenarios yet, just to streamlined map entry iteration for the time being.
Inspired by #1752, broadly applied to existing Map.Entry iteration cases as well.
spring-projects-issues commentedMar 26, 2018
•
edited
Juergen Hoeller opened SPR-16646 and commented
As a leftover of our general Java 8+ codebase revision and a follow-up to several recent polishing commits, one grand sweep is missing still: the use of
Map.forEach
instead of manualMap.Entry
iteration in all places where no return clauses or checked exceptions are involved. That said, we do not switch to use of theStream
API for simple scenarios yet, just to streamlined map entry iteration for the time being.Inspired by #1752, broadly applied to existing
Map.Entry
iteration cases as well.Affects: 5.0.4
Issue Links:
Referenced from: commits e3d0ef6, 4aae6a6
The text was updated successfully, but these errors were encountered: