db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From henn...@apache.org
Subject cvs commit: db-torque/src/java/org/apache/torque/manager AbstractBaseManager.java
Date Thu, 26 Aug 2004 14:28:42 GMT
henning     2004/08/26 07:28:42

  Modified:    src/java/org/apache/torque/manager Tag: TORQUE_3_1_BRANCH
                        AbstractBaseManager.java
  Log:
  Commons Configuration no longer returns a default value but throws an
  exception if a property is missing and no default value is given.
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.16.2.3  +2 -2      db-torque/src/java/org/apache/torque/manager/AbstractBaseManager.java
  
  Index: AbstractBaseManager.java
  ===================================================================
  RCS file: /home/cvs/db-torque/src/java/org/apache/torque/manager/AbstractBaseManager.java,v
  retrieving revision 1.16.2.2
  retrieving revision 1.16.2.3
  diff -u -r1.16.2.2 -r1.16.2.3
  --- AbstractBaseManager.java	20 May 2004 04:36:06 -0000	1.16.2.2
  +++ AbstractBaseManager.java	26 Aug 2004 14:28:41 -0000	1.16.2.3
  @@ -429,7 +429,7 @@
           this.region = v;
           try
           {
  -            if (Torque.getConfiguration().getBoolean(Torque.CACHE_KEY))
  +            if (Torque.getConfiguration().getBoolean(Torque.CACHE_KEY, false))
               {
                   cache = JCS.getInstance(getRegion());
                   mrCache = new MethodResultCache(cache);
  
  
  

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