db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject cvs commit: db-torque/src/generator/src/java/org/apache/torque/engine/database/model Column.java
Date Tue, 27 Jan 2004 01:23:16 GMT
dlr         2004/01/26 17:23:16

  Modified:    src/generator/src/java/org/apache/torque/engine/database/model
                        Column.java
  Log:
  * src/generator/src/java/org/apache/torque/engine/database/model/Column.java
    Changed single character string literals to characters throughout
    for possibly improved performance.
  
  Revision  Changes    Path
  1.22      +5 -5      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.21
  retrieving revision 1.22
  diff -u -u -r1.21 -r1.22
  --- Column.java	17 Jan 2004 01:52:11 -0000	1.21
  +++ Column.java	27 Jan 2004 01:23:16 -0000	1.22
  @@ -986,12 +986,12 @@
       {
           StringBuffer sb = new StringBuffer();
           sb.append(getName());
  -        sb.append(" ");
  +        sb.append(' ');
           sb.append(getDomain().getSqlType());
           if (getPlatform().hasSize(getDomain().getSqlType()))
           {
               sb.append(getDomain().printSize());
  -            sb.append(" ");
  +            sb.append(' ');
           }
           if (getDomain().getDefaultValue() != null)
           {
  @@ -1005,10 +1005,10 @@
               {
                   sb.append(getDefaultValue());
               }
  -            sb.append(" ");
  +            sb.append(' ');
           }
           sb.append(getNotNullString());
  -        sb.append(" ");
  +        sb.append(' ');
           sb.append(getAutoIncrementString());
           return sb.toString();
       }
  
  
  

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