remove redundant DB field and variable

This commit is contained in:
Eric House 2012-09-15 17:11:59 -07:00
parent a939c9ec4b
commit 33772ff0b9
3 changed files with 0 additions and 7 deletions

View file

@ -149,7 +149,6 @@ public class DBHelper extends SQLiteOpenHelper {
db.execSQL( "CREATE TABLE " + TABLE_NAME_DICTBROWSE + " ("
+ DICTNAME + " TEXT,"
+ WORDCOUNT + " INTEGER,"
+ WORDCOUNTS + " TEXT,"
+ ITERMIN + " INTEGER(4),"
+ ITERMAX + " INTEGER(4),"

View file

@ -91,7 +91,6 @@ public class DBUtils {
public int m_pos;
public int m_top;
public String m_prefix;
public int m_count;
public int[] m_counts;
}
@ -981,8 +980,6 @@ public class DBUtils {
result.m_prefix =
cursor.getString( cursor
.getColumnIndex(DBHelper.ITERPREFIX));
result.m_count =
cursor.getInt( cursor.getColumnIndex(DBHelper.WORDCOUNT));
String counts =
cursor.getString( cursor.getColumnIndex(DBHelper.WORDCOUNTS));
if ( null != counts ) {
@ -1013,7 +1010,6 @@ public class DBUtils {
values.put( DBHelper.ITERMIN, state.m_minShown );
values.put( DBHelper.ITERMAX, state.m_maxShown );
values.put( DBHelper.ITERPREFIX, state.m_prefix );
values.put( DBHelper.WORDCOUNT, state.m_count );
if ( null != state.m_counts ) {
String[] nums = new String[state.m_counts.length];
for ( int ii = 0; ii < nums.length; ++ii ) {

View file

@ -174,8 +174,6 @@ public class DictBrowseActivity extends XWListActivity
m_browseState = new DBUtils.DictBrowseState();
m_browseState.m_pos = 0;
m_browseState.m_top = 0;
m_browseState.m_count =
XwJNI.dict_iter_wordCount( m_dictClosure );
}
if ( null == m_browseState.m_counts ) {
m_browseState.m_counts =