[jboss-cvs] JBossAS SVN: r90523 - trunk/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:46:59 EDT 2009


Author: scott.stark at jboss.org
Date: 2009-06-23 09:46:59 -0400 (Tue, 23 Jun 2009)
New Revision: 90523

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


Modified: trunk/profileservice/src/main/org/jboss/profileservice/management/ManagementViewImpl.java
===================================================================
--- trunk/profileservice/src/main/org/jboss/profileservice/management/ManagementViewImpl.java	2009-06-23 13:31:19 UTC (rev 90522)
+++ trunk/profileservice/src/main/org/jboss/profileservice/management/ManagementViewImpl.java	2009-06-23 13:46:59 UTC (rev 90523)
@@ -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