ammulder 2005/07/14 17:05:25
Modified: modules/core/src/java/org/openejb/corba/compiler Tag:
v2_0_G1M4 PortableStubCompiler.java
Log:
Apply test and fix for GERONIMO-715 to M4 branch
Revision Changes Path
No revision
No revision
1.5.2.1 +3 -3
openejb/modules/core/src/java/org/openejb/corba/compiler/Attic/PortableStubCompiler.java
Index: PortableStubCompiler.java
===================================================================
RCS file:
/home/projects/openejb/scm/openejb/modules/core/src/java/org/openejb/corba/compiler/Attic/PortableStubCompiler.java,v
retrieving revision 1.5
retrieving revision 1.5.2.1
diff -u -r1.5 -r1.5.2.1
--- PortableStubCompiler.java 29 Jun 2005 17:10:27 -0000 1.5
+++ PortableStubCompiler.java 14 Jul 2005 21:05:25 -0000 1.5.2.1
@@ -195,10 +195,10 @@
}
String propertyName;
- if (methodName.length() > 4 &&
Character.isUpperCase(methodName.charAt(4 + 1))) {
+ if (methodName.length() > 4 &&
Character.isUpperCase(methodName.charAt(4))) {
propertyName = methodName.substring(3);
} else {
- propertyName = Character.toLowerCase(methodName.charAt(3)) +
methodName.substring(3 + 1);
+ propertyName = Character.toLowerCase(methodName.charAt(3)) +
methodName.substring(4);
}
// must have a matching getter