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/task TorqueDataModelTask.java
Date Fri, 31 Oct 2003 18:37:40 GMT
mpoeschl    2003/10/31 10:37:40

  Modified:    src/java/org/apache/torque/map TableMap.java
               src/generator/src/java/org/apache/torque/engine/database/model
                        JavaNameGenerator.java
               src/generator/src/java/org/apache/torque/task
                        TorqueDataModelTask.java
  Log:
  replace usage of deprecated methods (commons-lang)
  
  Revision  Changes    Path
  1.14      +2 -2      db-torque/src/java/org/apache/torque/map/TableMap.java
  
  Index: TableMap.java
  ===================================================================
  RCS file: /home/cvs/db-torque/src/java/org/apache/torque/map/TableMap.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- TableMap.java	23 Aug 2003 13:18:54 -0000	1.13
  +++ TableMap.java	31 Oct 2003 18:37:40 -0000	1.14
  @@ -553,7 +553,7 @@
           while (st.hasMoreTokens())
           {
               String element = ((String) st.nextElement()).toLowerCase();
  -            out.append (StringUtils.capitalise(element));
  +            out.append (StringUtils.capitalize(element));
           }
           return out.toString();
       }
  
  
  
  1.2       +3 -3      db-torque/src/generator/src/java/org/apache/torque/engine/database/model/JavaNameGenerator.java
  
  Index: JavaNameGenerator.java
  ===================================================================
  RCS file: /home/cvs/db-torque/src/generator/src/java/org/apache/torque/engine/database/model/JavaNameGenerator.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- JavaNameGenerator.java	10 Feb 2003 13:20:58 -0000	1.1
  +++ JavaNameGenerator.java	31 Oct 2003 18:37:40 -0000	1.2
  @@ -132,7 +132,7 @@
           while (tok.hasMoreTokens())
           {
               String namePart = ((String) tok.nextElement()).toLowerCase();
  -            name.append(StringUtils.capitalise(namePart));
  +            name.append(StringUtils.capitalize(namePart));
           }
           return name.toString();
       }
  @@ -155,7 +155,7 @@
           while (tok.hasMoreTokens())
           {
               String namePart = (String) tok.nextElement();
  -            name.append(StringUtils.capitalise(namePart));
  +            name.append(StringUtils.capitalize(namePart));
           }
           return name.toString();
       }
  
  
  
  1.7       +1 -1      db-torque/src/generator/src/java/org/apache/torque/task/TorqueDataModelTask.java
  
  Index: TorqueDataModelTask.java
  ===================================================================
  RCS file: /home/cvs/db-torque/src/generator/src/java/org/apache/torque/task/TorqueDataModelTask.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- TorqueDataModelTask.java	28 Oct 2003 09:23:08 -0000	1.6
  +++ TorqueDataModelTask.java	31 Oct 2003 18:37:40 -0000	1.7
  @@ -421,7 +421,7 @@
                   {
                       newKey =
                           newKey.substring(0, j)
  -                        +  StringUtils.capitalise(newKey.substring(j + 1));
  +                        +  StringUtils.capitalize(newKey.substring(j + 1));
                       j = newKey.indexOf(".");
                   }
   
  
  
  

---------------------------------------------------------------------
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