User: ejort   
  Date: 02/01/26 13:13:29

  Modified:    src/main/org/jboss/mx/modelmbean XMBean.java
  Log:
  Always build clobber before committing
  
  Revision  Changes    Path
  1.4       +3 -3      jmx/src/main/org/jboss/mx/modelmbean/XMBean.java
  
  Index: XMBean.java
  ===================================================================
  RCS file: /cvsroot/jboss/jmx/src/main/org/jboss/mx/modelmbean/XMBean.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- XMBean.java       2002/01/23 22:05:35     1.3
  +++ XMBean.java       2002/01/26 21:13:29     1.4
  @@ -57,9 +57,9 @@
         
            
            if (resourceType.equals(STANDARD_INTERFACE))
  -            metadata = new ModelMBeanInfoSupport((ModelMBeanInfo)new 
StandardMetaData(resource, true).build());
  +            info = new ModelMBeanInfoSupport((ModelMBeanInfo)new 
StandardMetaData(resource, true).build());
            if (resourceType.endsWith(".xml"))
  -            metadata = new ModelMBeanInfoSupport((ModelMBeanInfo)new 
XMLMetaData(resource.getClass().getName(), resourceType).build());   
  +            info = new ModelMBeanInfoSupport((ModelMBeanInfo)new 
XMLMetaData(resource.getClass().getName(), resourceType).build());   
         }
         catch (InstanceNotFoundException e) 
         {
  @@ -124,7 +124,7 @@
      // DynamicMBean implementation -----------------------------------
      public MBeanInfo getMBeanInfo()
      {
  -      return (MBeanInfo)metadata;
  +      return info;
      }
   
      
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to