show/hide this revision's text 2 corrected spelling

Gibt es ein Code Analyse Tool, das ConcurrentModifiationExceptions ConcurrentModificationExceptions entdeckt?

Hallo zusammen,

gibt es ein Tool, das die typischen Codestellen, welche ConcurrentModifiationExceptions ConcurrentModificationExceptions hervorrufen können, aus dem Stand entdeckt? Ich hatte mit FindBugs und PMD bisher kein Erfolg.

Typischer Code:

for(String s : stringSet)
{
  if(s.equals("foo"))
  {
    stringSet.remove(s);
  }
}
show/hide this revision's text 1

Gibt es ein Code Analyse Tool, das ConcurrentModifiationExceptions entdeckt?

Hallo zusammen,

gibt es ein Tool, das die typischen Codestellen, welche ConcurrentModifiationExceptions hervorrufen können, aus dem Stand entdeckt? Ich hatte mit FindBugs und PMD bisher kein Erfolg.

Typischer Code:

for(String s : stringSet)
{
  if(s.equals("foo"))
  {
    stringSet.remove(s);
  }
}