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

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon May 11 16:45:10 EDT 2009


Author: jason.greene at jboss.com
Date: 2009-05-11 16:45:09 -0400 (Mon, 11 May 2009)
New Revision: 88671

Modified:
   branches/Branch_5_x/profileservice/src/main/org/jboss/profileservice/management/ManagementViewImpl.java
Log:
Fix NPE


Modified: branches/Branch_5_x/profileservice/src/main/org/jboss/profileservice/management/ManagementViewImpl.java
===================================================================
--- branches/Branch_5_x/profileservice/src/main/org/jboss/profileservice/management/ManagementViewImpl.java	2009-05-11 20:34:02 UTC (rev 88670)
+++ branches/Branch_5_x/profileservice/src/main/org/jboss/profileservice/management/ManagementViewImpl.java	2009-05-11 20:45:09 UTC (rev 88671)
@@ -287,7 +287,7 @@
                }
             }
             ManagedDeploymentImpl mdi = new ManagedDeploymentImpl(md.getName(), md.getName(), null, unitMOs);
-            mdi.addType("external-mbean");
+            mdi.setTypes(Collections.singleton("external-mbean"));
             try
             {
                processManagedDeployment(mdi, null, DeploymentState.STARTED, 0, trace);




More information about the jboss-cvs-commits mailing list