* 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) {
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();
}
/*
- * @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;