You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by gd...@apache.org on 2004/07/20 12:06:14 UTC
cvs commit: incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/gbean/jmx GBeanMBean.java
gdamour 2004/07/20 03:06:14
Modified: modules/kernel/src/java/org/apache/geronimo/gbean/jmx
GBeanMBean.java
Log:
Fix a typographic issue causing the attributes returned by a GBeanMBean to be partially null.
Revision Changes Path
1.28 +2 -2 incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/gbean/jmx/GBeanMBean.java
Index: GBeanMBean.java
===================================================================
RCS file: /home/cvs/incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/gbean/jmx/GBeanMBean.java,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- GBeanMBean.java 25 Jun 2004 07:24:20 -0000 1.27
+++ GBeanMBean.java 20 Jul 2004 10:06:14 -0000 1.28
@@ -249,7 +249,7 @@
mbeanAttributesList.add(mbeanAttributeInfo);
}
}
- MBeanAttributeInfo[] mbeanAttributes = (MBeanAttributeInfo[]) mbeanAttributesList.toArray(new MBeanAttributeInfo[attributes.length]);
+ MBeanAttributeInfo[] mbeanAttributes = (MBeanAttributeInfo[]) mbeanAttributesList.toArray(new MBeanAttributeInfo[mbeanAttributesList.size()]);
MBeanOperationInfo[] mbeanOperations = new MBeanOperationInfo[operations.length];
for (int i = 0; i < operations.length; i++) {