Server: getCurrentChannelNames() no returns ArrayList<String>
This commit is contained in:
parent
f37407e2d2
commit
03fb5b882c
|
@ -310,7 +310,7 @@ public class Server
|
|||
*
|
||||
* @return
|
||||
*/
|
||||
public String[] getCurrentChannelNames()
|
||||
public ArrayList<String> getCurrentChannelNames()
|
||||
{
|
||||
ArrayList<String> channels = new ArrayList<String>();
|
||||
Collection<Conversation> mConversations = conversations.values();
|
||||
|
@ -321,7 +321,7 @@ public class Server
|
|||
}
|
||||
}
|
||||
|
||||
return (String[]) channels.toArray();
|
||||
return channels;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue