R.drawable.theme_light_token_row_other_bg,
R.drawable.theme_light_normal_row_bg);
- private Theme(final int themeId, final int tokenRowFg,
- final int tokenRowFgColor,
- final int tokenRowMainBg, final int tokenRowOtherBg,
- final int normalRowBg) {
+ Theme(final int themeId, final int tokenRowFg,
+ final int tokenRowFgColor,
+ final int tokenRowMainBg, final int tokenRowOtherBg,
+ final int normalRowBg) {
this.themeId = themeId;
this.tokenRowFg = tokenRowFg;
this.tokenRowFgColor = tokenRowFgColor;
protected void onGo() {
dialog.dismiss();
DictionaryActivity.this.finish();
- };
+ }
};
button.setOnClickListener(intentLauncher);
listView.addHeaderView(button);
protected void onGo() {
dialog.dismiss();
DictionaryActivity.this.finish();
- };
+ }
};
button.setOnClickListener(intentLauncher);
result.addView(button);
public synchronized void deleteDictionary(final DictionaryInfo dictionaryInfo) {
while (dictionaryConfig.dictionaryFilesOrdered.remove(dictionaryInfo.uncompressedFilename)) {
}
- ;
dictionaryConfig.uncompressedFilenameToDictionaryInfo
.remove(dictionaryInfo.uncompressedFilename);
getPath(dictionaryInfo.uncompressedFilename).delete();
raf.writeUTF(t.name);
raf.writeInt(t.numEntries);
}
- };
+ }
}
final boolean overridesStopList;
final EntryTypeName singleWordInstance;
- private EntryTypeName() {
+ EntryTypeName() {
this(false, false, null);
}
- private EntryTypeName(final boolean mainWord, final boolean overridesStopList,
- final EntryTypeName singleWordInstance) {
+ EntryTypeName(final boolean mainWord, final boolean overridesStopList,
+ final EntryTypeName singleWordInstance) {
this.mainWord = mainWord;
this.overridesStopList = overridesStopList;
this.singleWordInstance = singleWordInstance == null ? this : singleWordInstance;
public void write(RandomAccessFile raf, HtmlEntry t) throws IOException {
t.write(raf);
}
- };
+ }
public String getRawText(final boolean compact) {
return title + ":\n" + getHtml();
}
RAFList.write(raf, sortedIndexEntries, indexEntrySerializer);
new SerializableSerializer<Set<String>>().write(raf, stoplist);
- UniformRAFList.write(raf, (Collection<RowBase>) rows, new RowBase.Serializer(this), 5 /*
+ UniformRAFList.write(raf, rows, new RowBase.Serializer(this), 5 /*
* bytes
* per
* entry
public void write(RandomAccessFile raf, PairEntry t) throws IOException {
t.write(raf);
}
- };
+ }
@Override
public void addToDictionary(final Dictionary dictionary) {
public void write(RandomAccessFile raf, TextEntry t) throws IOException {
t.write(raf);
}
- };
+ }
@Override
public void addToDictionary(final Dictionary dictionary) {