mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-05 20:45:49 +01:00
cleanup: pass size to constructor
This commit is contained in:
parent
4b25d17dbf
commit
5a91b2819c
1 changed files with 1 additions and 1 deletions
|
@ -400,8 +400,8 @@ public class GamesListDelegate extends ListDelegateBase
|
|||
|
||||
private List<Object> makeChildren( long groupID )
|
||||
{
|
||||
List<Object> alist = new ArrayList<Object>();
|
||||
long[] rows = DBUtils.getGroupGames( m_activity, groupID );
|
||||
List<Object> alist = new ArrayList<Object>( rows.length );
|
||||
for ( long row : rows ) {
|
||||
alist.add( new GameRec( row ) );
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue