You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by jl...@apache.org on 2018/12/05 16:48:06 UTC
[31/51] [abbrv] tomee git commit: TOMEE-2245 fix incorrect collection
to array conversion
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 <jo...@jrg.me.uk>
Authored: Tue Sep 25 11:42:54 2018 +0100
Committer: Jonathan Gallimore <jo...@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]);