what I mean to check in (without commented out stuff)

This commit is contained in:
Andy2 2011-04-26 06:43:06 -07:00
parent 4113d92be7
commit 83f2882589

View file

@ -259,7 +259,6 @@ public class CurGameInfo {
// Replace any dict that doesn't exist with newDict
public void replaceDicts( String newDict )
{
Utils.logf( "replaceDicts(%s)", newDict );
String[] dicts =
DictLangCache.getHaveLang( m_context, dictLang );
HashSet<String> installed = new HashSet<String>( Arrays.asList(dicts) );
@ -275,15 +274,6 @@ public class CurGameInfo {
} else if ( !installed.contains( players[ii].dictName ) ) {
players[ii].dictName = newDict;
}
// String curDict = players[ii].dictName;
// if ( newDict.equals( curDict ) ) {
// // we're good
// } else if ( installed.contains(curDict) ) {
// // we're good
// } else {
// players[ii].dictName = newDict;
// }
}
}