[seam-commits] Seam SVN: r13914 - branches/community/Seam_2_2/src/main/org/jboss/seam/jmx.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Thu Nov 18 03:29:30 EST 2010


Author: manaRH
Date: 2010-11-18 03:29:28 -0500 (Thu, 18 Nov 2010)
New Revision: 13914

Modified:
   branches/community/Seam_2_2/src/main/org/jboss/seam/jmx/MBeanProxy.java
Log:
fixed building under jdk 5, accidently changed some compiler warnings on jdk6 and it broke jdk5 compilation

Modified: branches/community/Seam_2_2/src/main/org/jboss/seam/jmx/MBeanProxy.java
===================================================================
--- branches/community/Seam_2_2/src/main/org/jboss/seam/jmx/MBeanProxy.java	2010-11-16 10:48:55 UTC (rev 13913)
+++ branches/community/Seam_2_2/src/main/org/jboss/seam/jmx/MBeanProxy.java	2010-11-18 08:29:28 UTC (rev 13914)
@@ -30,7 +30,7 @@
     */
    public static Object get(Class intrface, ObjectName name, String agentID) throws MBeanProxyCreationException
    {
-      return get(intrface, name, MBeanServerFactory.findMBeanServer(agentID).get(0));
+      return get(intrface, name, (MBeanServer) MBeanServerFactory.findMBeanServer(agentID).get(0));
    }
 
    /**
@@ -78,7 +78,7 @@
     */
    public static Object create(Class instance, Class intrface, ObjectName name, String agentID) throws MBeanProxyCreationException
    {
-      return create(instance, intrface, name, MBeanServerFactory.findMBeanServer(agentID).get(0));
+      return create(instance, intrface, name,(MBeanServer) MBeanServerFactory.findMBeanServer(agentID).get(0));
    }   
    
    /**



More information about the seam-commits mailing list