Bug 58509 [spell checking] ConcurrentModif.Exception in spelling plugin
20040407 Got this printed in the console (not .log!) java.util.ConcurrentModificationException at java.lang.Throwable.<init>(Throwable.java) at java.util.HashMap$HashIterator.nextEntry(HashMap.java) at java.util.HashMap$KeyIterator.next(HashMap.java) at org.eclipse.jdt.internal.ui.text.spelling.engine.DefaultSpellChecker. fireEvent(DefaultSpellChecker.java) at org.eclipse.jdt.internal.ui.text.spelling.engine.DefaultSpellChecker. execute(DefaultSpellChecker.java) at org.eclipse.jdt.internal.ui.text.spelling.SpellReconcileStrategy.reco ncile(SpellReconcileStrategy.java) at org.eclipse.jface.text.reconciler.CompositeReconcilingStrategy.reconc ile(CompositeReconcilingStrategy.java) at org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.rec oncile(JavaCompositeReconcilingStrategy.java) at org.eclipse.jface.text.reconciler.MonoReconciler.process (MonoReconcil er.java) at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread .run(AbstractReconciler.java)
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/engine/DefaultSpellChecker.java
*/
	public boolean acceptsWords() {
		ISpellDictionary dictionary= null;
		for (final Iterator iterator= fDictionaries.iterator(); iterator.hasNext();) {
			dictionary= (ISpellDictionary)iterator.next();
			if (dictionary.acceptsWords())
				return true;
		}
		return false;
	}
	/*
	 * @see org.eclipse.jdt.internal.ui.text.spelling.engine.ISpellChecker#addWord(java.lang.String)
	 */
	public void addWord(final String word) {
		final String addable= word.toLowerCase();
		fIgnored.add(addable);
		ISpellDictionary dictionary= null;
		for (final Iterator iterator= fDictionaries.iterator(); iterator.hasNext();) {
			dictionary= (ISpellDictionary)iterator.next();
			dictionary.addWord(addable);
		}
	}
	/*
	 * @see org.eclipse.jdt.ui.text.spelling.engine.ISpellChecker#checkWord(java.lang.String)
	 */
	public final void checkWord(final String word) {
		fIgnored.remove(word.toLowerCase());
	}
	/*
	 * @see org.eclipse.spelling.done.ISpellChecker#execute(org.eclipse.spelling.ISpellCheckTokenizer)