db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mpoes...@apache.org
Subject cvs commit: db-torque/src/generator/src/java/org/apache/torque/engine/database/model Column.java
Date Fri, 08 Aug 2003 09:15:12 GMT
mpoeschl    2003/08/08 02:15:12

  Modified:    src/generator/src/java/org/apache/torque/engine/database/model
                        Column.java
  Log:
  make sure javaName is capitalised
  
  Revision  Changes    Path
  1.5       +5 -3      db-torque/src/generator/src/java/org/apache/torque/engine/database/model/Column.java
  
  Index: Column.java
  ===================================================================
  RCS file: /home/cvs/db-torque/src/generator/src/java/org/apache/torque/engine/database/model/Column.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Column.java	28 Jul 2003 11:47:21 -0000	1.4
  +++ Column.java	8 Aug 2003 09:15:12 -0000	1.5
  @@ -259,7 +259,9 @@
       }
   
       /**
  -     * Get name to use in Java sources
  +     * Get name to use in Java sources to build method names.
  +     * 
  +     * @return the capitalised javaName
        */
       public String getJavaName()
       {
  @@ -278,7 +280,7 @@
                   log.error(e, e);
               }
           }
  -        return javaName;
  +        return StringUtils.capitalise(javaName);
       }
       
       /**
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message