mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-03 23:04:08 +01:00
remove redundant DB field and variable
This commit is contained in:
parent
a939c9ec4b
commit
33772ff0b9
3 changed files with 0 additions and 7 deletions
|
@ -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),"
|
||||
|
|
|
@ -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 ) {
|
||||
|
|
|
@ -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 =
|
||||
|
|
Loading…
Reference in a new issue