mirror of
https://github.com/moparisthebest/Yaaic
synced 2024-11-26 19:02:17 -05:00
Server: getCurrentChannelNames() no returns ArrayList<String>
This commit is contained in:
parent
f37407e2d2
commit
03fb5b882c
@ -310,7 +310,7 @@ public class Server
|
|||||||
*
|
*
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
public String[] getCurrentChannelNames()
|
public ArrayList<String> getCurrentChannelNames()
|
||||||
{
|
{
|
||||||
ArrayList<String> channels = new ArrayList<String>();
|
ArrayList<String> channels = new ArrayList<String>();
|
||||||
Collection<Conversation> mConversations = conversations.values();
|
Collection<Conversation> mConversations = conversations.values();
|
||||||
@ -321,7 +321,7 @@ public class Server
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return (String[]) channels.toArray();
|
return channels;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user