mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-27 09:58:45 +01:00
tweak method for clarity -- no behavior change
This commit is contained in:
parent
42f2612e67
commit
a03dc80205
1 changed files with 2 additions and 3 deletions
|
@ -718,10 +718,9 @@ public class GameUtils {
|
|||
public static boolean feedMessages( Context context, String relayID,
|
||||
byte[][] msgs, MultiMsgSink sink )
|
||||
{
|
||||
boolean draw = false;
|
||||
long[] rowids = DBUtils.getRowIDsFor( context, relayID );
|
||||
boolean draw = null != rowids;
|
||||
if ( draw ) {
|
||||
draw = false;
|
||||
if ( null != rowids ) {
|
||||
for ( long rowid : rowids ) {
|
||||
draw = feedMessages( context, rowid, msgs, null, sink ) || draw;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue