minor cleanups

This commit is contained in:
zzz
2016-06-16 14:42:17 +00:00
parent e1eb731a65
commit b8bbb2c7b2
3 changed files with 10 additions and 9 deletions

View File

@ -12,7 +12,9 @@
- Sync buttons sync all or selected (ticket #1233) (thx hikiko)
- Refactor and fix freenet support (ticket #1424) (thx hikiko)
- Fix NPE in sortFiles() urn:syndie:channel:d7:channel44:MrsSwvkmnhkgujdeWHdRVX~1VAnMM9slpHRRjDg6Szs=9:messageIdi1421552448706ee
- Enable clearnet https archives (requires I2P 0.9.9 or higher)
- Fix NPE at shutdown
- Enable clearnet https archives
- Remove mac32 build target
- Translation updates
- New translations: Greek, Italian, Dutch, Brazilian Portuguese, Ukrainian, Chinese, Turkish

4
TODO
View File

@ -53,8 +53,4 @@ Sync:
- Allow much more frequent syncing
Translation:
- Compare TranslationRegistry.java to I2P's Translate.java, decide whether to switch to I2P's
Translate class (yes), and set up translation .po files
- edit/create translations
- Sync to I2P transifex
- internationalize the text UI

View File

@ -1,15 +1,18 @@
package syndie.gui;
import com.swabunga.spell.engine.SpellDictionary;
import com.swabunga.spell.engine.SpellDictionaryHashMap;
import java.io.BufferedInputStream;
import java.io.ByteArrayInputStream;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.Reader;
import com.swabunga.spell.engine.SpellDictionary;
import com.swabunga.spell.engine.SpellDictionaryHashMap;
import net.i2p.util.SimpleTimer2;
import net.i2p.util.SystemVersion;
import syndie.db.JobRunner;
/**
@ -19,7 +22,7 @@ public class SpellUtil {
private static SpellDictionaryHashMap _dictionary;
private static volatile boolean _isEnabled;
private static final boolean _isWin = System.getProperty("os.name").startsWith("Win");
private static final boolean _isWin = SystemVersion.isWindows();
private static final String PROP_STANDARD_WORDS = "syndie.dict";
private static final String STANDARD_WORDS = "/usr/share/dict/words";