db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject cvs commit: db-torque/src/generator/src/java/org/apache/torque/engine/database/model TypeMap.java Column.java
Date Tue, 24 Aug 2004 01:14:22 GMT
seade       2004/08/23 18:14:22

  Modified:    src/generator/src/java/org/apache/torque/engine/database/model
                        TypeMap.java Column.java
  Log:
  TRQS225:  fix broken head build
  My bad.
  Thanks to David Jencks for catching my omission.
  
  Revision  Changes    Path
  1.9       +3 -3      db-torque/src/generator/src/java/org/apache/torque/engine/database/model/TypeMap.java
  
  Index: TypeMap.java
  ===================================================================
  RCS file: /home/cvs/db-torque/src/generator/src/java/org/apache/torque/engine/database/model/TypeMap.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- TypeMap.java	23 Aug 2004 11:49:47 -0000	1.8
  +++ TypeMap.java	24 Aug 2004 01:14:22 -0000	1.9
  @@ -595,9 +595,9 @@
        * @param type The type to check.
        * @return true if the type is BIT
        */
  -    public static boolean isBit(String type)
  +    public static boolean isBit(SchemaType type)
       {
  -        return BIT.equals(type);
  +        return SchemaType.BIT.equals(type);
       }
   
       /**
  
  
  
  1.25      +2 -2      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.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- Column.java	23 Aug 2004 11:49:47 -0000	1.24
  +++ Column.java	24 Aug 2004 01:14:22 -0000	1.25
  @@ -896,7 +896,7 @@
        */
       public boolean isBit()
       {
  -        return TypeMap.isBit(torqueType);
  +        return TypeMap.isBit(domain.getType());
       }
   
       /**
  
  
  

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