tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlmonte...@apache.org
Subject [31/51] [abbrv] tomee git commit: TOMEE-2245 fix incorrect collection to array conversion
Date Wed, 05 Dec 2018 16:48:06 GMT
TOMEE-2245 fix incorrect collection to array conversion


Project: http://git-wip-us.apache.org/repos/asf/tomee/repo
Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/3d407e58
Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/3d407e58
Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/3d407e58

Branch: refs/heads/master
Commit: 3d407e582254cf6ba5aa490a83b050778d38d6c9
Parents: 4c98121
Author: Jonathan Gallimore <jon@jrg.me.uk>
Authored: Tue Sep 25 11:42:54 2018 +0100
Committer: Jonathan Gallimore <jon@jrg.me.uk>
Committed: Tue Sep 25 11:45:16 2018 +0100

----------------------------------------------------------------------
 .../main/java/org/apache/openejb/monitoring/MBeanPojoWrapper.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tomee/blob/3d407e58/container/openejb-core/src/main/java/org/apache/openejb/monitoring/MBeanPojoWrapper.java
----------------------------------------------------------------------
diff --git a/container/openejb-core/src/main/java/org/apache/openejb/monitoring/MBeanPojoWrapper.java
b/container/openejb-core/src/main/java/org/apache/openejb/monitoring/MBeanPojoWrapper.java
index 70367f86..12004a7 100644
--- a/container/openejb-core/src/main/java/org/apache/openejb/monitoring/MBeanPojoWrapper.java
+++ b/container/openejb-core/src/main/java/org/apache/openejb/monitoring/MBeanPojoWrapper.java
@@ -99,7 +99,7 @@ public class MBeanPojoWrapper implements DynamicMBean {
         // default constructor is mandatory
         info = new MBeanInfo(name,
                 "Auto-created by OpenEJB",
-                mBeanAttributeInfoList.toArray(new MBeanAttributeInfo[attributeMap.size()]),
+                mBeanAttributeInfoList.toArray(new MBeanAttributeInfo[mBeanAttributeInfoList.size()]),
                 null, // default constructor is mandatory
                 new MBeanOperationInfo[0],
                 new MBeanNotificationInfo[0]);


Mime
View raw message