For loop should use entrySet instead of keySet while my map type is <String, List<String>> violations | Core Java Forum
A
Asim Toor Posted on 28/08/2021

see my map type is like:

Map<String, List<String>> validations

and my for loop should use 

entrySet instead of keySet to resolve my sonarQube issue

How could I resolve this ?


A
Asim Toor Replied on 29/08/2021

Please disregard, I found the solution on what you suggested in my previous query. Thank you for the help.


Y
Yogesh Chawla Replied on 29/08/2021

Sure. Welcome