mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-23 07:27:22 +01:00
It's now possible for a game to have no address modes, so don't assert
otherwise.
This commit is contained in:
parent
d89c0d2847
commit
d27fdbd748
1 changed files with 3 additions and 2 deletions
|
@ -572,8 +572,9 @@ public class DBUtils {
|
|||
long rowid = cursor.getLong( indx1 );
|
||||
CommsConnTypeSet typs = new CommsConnTypeSet( cursor.getInt(indx2) );
|
||||
// Better have an address if has pending sends
|
||||
Assert.assertTrue( 0 < typs.size() );
|
||||
result.put( rowid, typs );
|
||||
if ( 0 < typs.size() ) {
|
||||
result.put( rowid, typs );
|
||||
}
|
||||
}
|
||||
cursor.close();
|
||||
db.close();
|
||||
|
|
Loading…
Add table
Reference in a new issue