[jboss-cvs] JBossAS SVN: r90521 - branches/JBPAPP_5_0/profileservice/src/main/org/jboss/profileservice/management.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Jun 23 09:29:10 EDT 2009


Author: scott.stark at jboss.org
Date: 2009-06-23 09:29:10 -0400 (Tue, 23 Jun 2009)
New Revision: 90521

Modified:
   branches/JBPAPP_5_0/profileservice/src/main/org/jboss/profileservice/management/ManagementViewImpl.java
Log:
JBAS-7044, build a serializable set for the getComponentTypes

Modified: branches/JBPAPP_5_0/profileservice/src/main/org/jboss/profileservice/management/ManagementViewImpl.java
===================================================================
--- branches/JBPAPP_5_0/profileservice/src/main/org/jboss/profileservice/management/ManagementViewImpl.java	2009-06-23 13:19:00 UTC (rev 90520)
+++ branches/JBPAPP_5_0/profileservice/src/main/org/jboss/profileservice/management/ManagementViewImpl.java	2009-06-23 13:29:10 UTC (rev 90521)
@@ -1229,7 +1229,8 @@
     */
    public Set<ComponentType> getComponentTypes()
    {
-      return compByCompType.keySet();
+      HashSet<ComponentType> types = new HashSet<ComponentType>(compByCompType.keySet());
+      return types;
    }
 
    /**




More information about the jboss-cvs-commits mailing list