mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-02 22:05:44 +02:00
Fixed ConcurrentModificationException. Bug 293822.
This commit is contained in:
parent
1a93930f72
commit
e9a4ea6e19
1 changed files with 7 additions and 5 deletions
|
@ -219,9 +219,11 @@ public class DefaultSpellChecker implements ISpellChecker {
|
|||
|
||||
iterator.setIgnoreSingleLetters(ignoreSingleLetters);
|
||||
|
||||
synchronized (fDictionaries) {
|
||||
Iterator<ISpellDictionary> iter= fDictionaries.iterator();
|
||||
while (iter.hasNext())
|
||||
iter.next().setStripNonLetters(ignoreNonLetters);
|
||||
}
|
||||
|
||||
String word= null;
|
||||
boolean starts= false;
|
||||
|
|
Loading…
Add table
Reference in a new issue