Server: getCurrentChannelNames() no returns ArrayList<String>

This commit is contained in:
Sebastian Kaspari 2010-04-13 22:02:31 +02:00
parent f37407e2d2
commit 03fb5b882c
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}
/**