Detect the following:
map.keySet().contains(x)
and recommend the following:
map.containsKey(x)
Similarly for:
map.values().contains(x)
Log in to post a comment.
Similarly for:
map.values().contains(x)