commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rwaldh...@apache.org
Subject cvs commit: jakarta-commons/beanutils/src/java/org/apache/commons/beanutils MappedPropertyDescriptor.java
Date Mon, 09 Dec 2002 22:33:04 GMT
rwaldhoff    2002/12/09 14:33:04

  Modified:    beanutils/src/java/org/apache/commons/beanutils
                        MappedPropertyDescriptor.java
  Log:
  rename private method capitalize(String) to make an eclipse warning go away (something along
the lines of "this capitalize doesn't override java.beans.PropertyDescriptor capitalize" because
PropertyDescriptor.capitalize has "default" scope)
  
  Revision  Changes    Path
  1.13      +6 -6      jakarta-commons/beanutils/src/java/org/apache/commons/beanutils/MappedPropertyDescriptor.java
  
  Index: MappedPropertyDescriptor.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/beanutils/src/java/org/apache/commons/beanutils/MappedPropertyDescriptor.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- MappedPropertyDescriptor.java	21 Nov 2002 22:21:01 -0000	1.12
  +++ MappedPropertyDescriptor.java	9 Dec 2002 22:33:03 -0000	1.13
  @@ -142,7 +142,7 @@
           }
   
           setName(propertyName);
  -        String base = capitalize(propertyName);
  +        String base = capitalizePropertyName(propertyName);
           
           // Look for mapped read method and matching write method
           try {
  @@ -349,7 +349,7 @@
        *
        * @param s The property name
        */
  -    private static String capitalize(String s) {
  +    private static String capitalizePropertyName(String s) {
           if (s.length() == 0) {
               return s;
           }
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message