This inspection reports iteration over the keySet() of a java.util.Map instance, where the iterated keys are used to retrieve the values from the map. Such iteration may be more efficiently replaced by iteration over the entrySet() of the map. |
New in 8, Powered by InspectionGadgets |