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/templates/om MapBuilder.vm
Date Tue, 11 Feb 2003 02:36:10 GMT
dlr         2003/02/10 18:36:10

  Modified:    src/generator/src/templates/om MapBuilder.vm
  Log:
  * src/generator/src/templates/om/MapBuilder.vm
    isBuilt(): Shrank implementation from five lines to one.  No
    functional change.
  
  Revision  Changes    Path
  1.2       +1 -5      db-torque/src/generator/src/templates/om/MapBuilder.vm
  
  Index: MapBuilder.vm
  ===================================================================
  RCS file: /home/cvs/db-torque/src/generator/src/templates/om/MapBuilder.vm,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -u -r1.1 -r1.2
  --- MapBuilder.vm	10 Feb 2003 13:18:45 -0000	1.1
  +++ MapBuilder.vm	11 Feb 2003 02:36:10 -0000	1.2
  @@ -65,11 +65,7 @@
        */
       public boolean isBuilt()
       {
  -        if (dbMap != null)
  -        {
  -            return true;
  -        }
  -        return false;
  +        return (dbMap != null);
       }
   
       /**
  
  
  

Mime
View raw message