IG: Contents of map are queried but never updated. Really?
Should this one be flagged by this inspection or not?
Map anotherMap = ...
SortedMap map = new TreeMap(anotherMap);
Iterator it = map.keySet().iterator();
Sascha
Please sign in to leave a comment.
No, it shouldn't be, but right now I'm not checking for that case. Good eye. Please submit a JIRA item, so I don't lose this one.
--Dave Griffith
Dave Griffith wrote:
Done: http://www.jetbrains.net/jira/browse/IDEA-2775
Sascha