mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-23 07:27:22 +01:00
cleanup (no code change)
This commit is contained in:
parent
ce85060682
commit
3d1cefe00b
1 changed files with 6 additions and 4 deletions
|
@ -481,7 +481,8 @@ public class DBUtils {
|
|||
return result;
|
||||
}
|
||||
|
||||
public static class SentInvitesInfo implements Serializable {
|
||||
public static class SentInvitesInfo
|
||||
implements Serializable /* Serializable b/c passed as param to alerts */ {
|
||||
public long m_rowid;
|
||||
private ArrayList<InviteMeans> m_means;
|
||||
private ArrayList<String> m_targets;
|
||||
|
@ -505,7 +506,8 @@ public class DBUtils {
|
|||
return result;
|
||||
}
|
||||
|
||||
private SentInvitesInfo( long rowID ) {
|
||||
private SentInvitesInfo( long rowID )
|
||||
{
|
||||
m_rowid = rowID;
|
||||
m_means = new ArrayList<>();
|
||||
m_targets = new ArrayList<>();
|
||||
|
@ -640,7 +642,8 @@ public class DBUtils {
|
|||
String orderBy = DBHelper.TIMESTAMP + " DESC";
|
||||
|
||||
synchronized( s_dbHelper ) {
|
||||
Cursor cursor = DBHelper.query( s_db, TABLE_NAMES.INVITES, columns, selection, orderBy );
|
||||
Cursor cursor = DBHelper.query( s_db, TABLE_NAMES.INVITES, columns,
|
||||
selection, orderBy );
|
||||
if ( 0 < cursor.getCount() ) {
|
||||
int indxMns = cursor.getColumnIndex( DBHelper.MEANS );
|
||||
int indxTS = cursor.getColumnIndex( DBHelper.TIMESTAMP );
|
||||
|
@ -677,7 +680,6 @@ public class DBUtils {
|
|||
synchronized( s_dbHelper ) {
|
||||
insert( TABLE_NAMES.INVITES, values );
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private static void setSummaryInt( long rowid, String column, int value )
|
||||
|
|
Loading…
Add table
Reference in a new issue