keith-turner opened a new issue #2041:
URL: https://github.com/apache/accumulo/issues/2041


   Recently Java introduced the `Map.forEach()` method.  Using this in 
conjunction with a lambda results in more succinct and efficient code compared 
to looping over `Map.entrySet()`.  One place in the Accumulo source code where 
`Map.forEach()` could improve the source code is 
[here](https://github.com/apache/accumulo/blob/9afab2c1b931d100ed6bad5cfe028c28da944427/core/src/main/java/org/apache/accumulo/core/util/LocalityGroupUtil.java#L380).
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to