dain 2004/01/04 15:45:09
Modified: modules/kernel/src/java/org/apache/geronimo/kernel/service
GeronimoMBean.java
Log:
Fixed ambiguous method call
Revision Changes Path
1.12 +2 -2
incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/kernel/service/GeronimoMBean.java
Index: GeronimoMBean.java
===================================================================
RCS file:
/home/cvs/incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/kernel/service/GeronimoMBean.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- GeronimoMBean.java 30 Dec 2003 08:25:32 -0000 1.11
+++ GeronimoMBean.java 4 Jan 2004 23:45:09 -0000 1.12
@@ -173,7 +173,7 @@
if (attributeInfo.isReadable()) {
String getterName = (attributeInfo.isIs() ? "is" :
"get") +
Character.toUpperCase(attributeName.charAt(0)) +
attributeName.substring(1);
- operationInfoMap.put(new
MBeanOperationSignature(getterName, null), attributeInfo);
+ operationInfoMap.put(new
MBeanOperationSignature(getterName, new String[0]), attributeInfo);
}
if (attributeInfo.isWritable()) {
String setterName = "set" +
Character.toUpperCase(attributeName.charAt(0)) + attributeName.substring(1);