fix #774 infinite loop in net.sourceforge.phpeclipse.builder.IdentifierIndexManager...
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / ui / text / spelling / engine / PersistentSpellDictionary.java
index fe555f3..20cb55c 100644 (file)
@@ -29,21 +29,21 @@ public class PersistentSpellDictionary extends AbstractSpellDictionary {
         * Creates a new persistent spell dictionary.
         * 
         * @param url
-        *                   The URL of the word list for this dictionary
+        *            The URL of the word list for this dictionary
         */
        public PersistentSpellDictionary(final URL url) {
-               fLocation= url;
+               fLocation = url;
        }
-       
+
        /*
-        * @see org.eclipse.jdt.ui.text.spelling.engine.AbstractSpellDictionary#acceptsWords()
+        * @see net.sourceforge.phpdt.ui.text.spelling.engine.AbstractSpellDictionary#acceptsWords()
         */
        public boolean acceptsWords() {
                return true;
        }
 
        /*
-        * @see org.eclipse.jdt.internal.ui.text.spelling.engine.ISpellDictionary#addWord(java.lang.String)
+        * @see net.sourceforge.phpdt.internal.ui.text.spelling.engine.ISpellDictionary#addWord(java.lang.String)
         */
        public void addWord(final String word) {
 
@@ -52,7 +52,8 @@ public class PersistentSpellDictionary extends AbstractSpellDictionary {
                        hashWord(word);
                        try {
 
-                               final FileWriter writer= new FileWriter(fLocation.getPath(), true);
+                               final FileWriter writer = new FileWriter(fLocation.getPath(),
+                                               true);
                                writer.write(word);
                                writer.write("\n"); //$NON-NLS-1$
                                writer.close();
@@ -64,7 +65,7 @@ public class PersistentSpellDictionary extends AbstractSpellDictionary {
        }
 
        /*
-        * @see org.eclipse.jdt.internal.ui.text.spelling.engine.AbstractSpellDictionary#getURL()
+        * @see net.sourceforge.phpdt.internal.ui.text.spelling.engine.AbstractSpellDictionary#getURL()
         */
        protected final URL getURL() {
                return fLocation;