geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject cvs commit: incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/gbean DynamicGBeanDelegate.java
Date Fri, 16 Jan 2004 23:55:54 GMT
djencks     2004/01/16 15:55:54

  Modified:    modules/kernel/src/java/org/apache/geronimo/gbean
                        DynamicGBeanDelegate.java
  Log:
  fix typos
  
  Revision  Changes    Path
  1.2       +3 -3      incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/gbean/DynamicGBeanDelegate.java
  
  Index: DynamicGBeanDelegate.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/gbean/DynamicGBeanDelegate.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- DynamicGBeanDelegate.java	16 Jan 2004 23:31:21 -0000	1.1
  +++ DynamicGBeanDelegate.java	16 Jan 2004 23:55:54 -0000	1.2
  @@ -113,14 +113,14 @@
           if (!method.getName().startsWith("set")) {
               throw new IllegalArgumentException("Method method name must start with 'set'
" + method);
           }
  -        addGetter(method.getName().substring(3), target, method);
  +        addSetter(method.getName().substring(3), target, method);
       }
   
       public void addSetter(String name, Object target, Method method) {
           if (method.getParameterTypes().length == 1 && method.getReturnType() ==
Void.TYPE) {
               throw new IllegalArgumentException("Method must take one parameter and not
return anything " + method);
           }
  -        getters.put(method.getName().substring(3), new Operation(target, method));
  +        setters.put(method.getName().substring(3), new Operation(target, method));
       }
   
       public void addOperation(Object target, Method method) {
  
  
  

Mime
View raw message