tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgallim...@apache.org
Subject tomee git commit: TOMEE-2245 fix incorrect collection to array conversion
Date Tue, 25 Sep 2018 10:46:02 GMT
Repository: tomee
Updated Branches:
  refs/heads/tomee-1.7.x d7f07fa27 -> 01e7b05b6


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/01e7b05b
Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/01e7b05b
Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/01e7b05b

Branch: refs/heads/tomee-1.7.x
Commit: 01e7b05b60c5ee0fbde06e01f7a06b0618e0f84b
Parents: d7f07fa
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:47 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/01e7b05b/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 e92bc35..54317c0 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