Use StreamableArrayList.newList()
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@949 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -207,7 +207,7 @@ public class LobbyRegistry
|
|||||||
*/
|
*/
|
||||||
public void getLobbies (ClientObject caller, String category, LobbiesListener listener)
|
public void getLobbies (ClientObject caller, String category, LobbiesListener listener)
|
||||||
{
|
{
|
||||||
List<Lobby> target = new StreamableArrayList<Lobby>();
|
List<Lobby> target = StreamableArrayList.newList();
|
||||||
List<Lobby> list = _lobbies.get(category);
|
List<Lobby> list = _lobbies.get(category);
|
||||||
if (list != null) {
|
if (list != null) {
|
||||||
target.addAll(list);
|
target.addAll(list);
|
||||||
|
|||||||
Reference in New Issue
Block a user