ammulder    2005/07/12 22:35:29

  Modified:    modules/core/src/java/org/openejb/corba/compiler
                        PortableStubCompiler.java
  Log:

  Test and fix for GERONIMO-715
  
  Revision  Changes    Path
  1.6       +3 -3      
openejb/modules/core/src/java/org/openejb/corba/compiler/PortableStubCompiler.java
  
  Index: PortableStubCompiler.java
  ===================================================================
  RCS file: 
/home/projects/openejb/scm/openejb/modules/core/src/java/org/openejb/corba/compiler/PortableStubCompiler.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- PortableStubCompiler.java 29 Jun 2005 17:10:27 -0000      1.5
  +++ PortableStubCompiler.java 13 Jul 2005 02:35:29 -0000      1.6
  @@ -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
  
  
  

Reply via email to