https://issues.apache.org/bugzilla/show_bug.cgi?id=48373
Summary: Can not get clients from TomcatBayeux
Product: Tomcat 7
Version: trunk
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Modules: bayeux
AssignedTo: [email protected]
ReportedBy: [email protected]
When call the getClients method,there will be a Exception:
java.lang.ArrayStoreException: java.util.HashMap$Entry
maybe this method should be:
public List<Client> getClients() {
return java.util.Arrays.asList(clients.values().toArray(new Client[0]));
}
instead of this:
public List<Client> getClients() {
return java.util.Arrays.asList(clients.entrySet().toArray(new Client[0]));
}
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]