turbine-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From henn...@apache.org
Subject cvs commit: jakarta-turbine-2/src/java/org/apache/turbine/modules GenericLoader.java
Date Sun, 08 Dec 2002 15:57:00 GMT
henning     2002/12/08 07:57:00

  Modified:    src/java/org/apache/turbine/modules GenericLoader.java
  Log:
  renamed the caching variable to something not
  resembling a constant. This is an outside-invisible
  change.
  
  Revision  Changes    Path
  1.3       +6 -5      jakarta-turbine-2/src/java/org/apache/turbine/modules/GenericLoader.java
  
  Index: GenericLoader.java
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-2/src/java/org/apache/turbine/modules/GenericLoader.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- GenericLoader.java	8 Dec 2002 14:25:54 -0000	1.2
  +++ GenericLoader.java	8 Dec 2002 15:57:00 -0000	1.3
  @@ -68,6 +68,7 @@
    * that is required to be called a Loader.
    *
    * @author <a href="mailto:mbryson@mont.mindspring.com">Dave Bryson</a>
  + * @author <a href="mailto:hps@intermeta.de">Henning P. Schmiedehausen</a>
    * @version $Id$
    */
   public abstract class GenericLoader extends Hashtable
  @@ -75,7 +76,7 @@
       /** @serial This can be serialized */
       private boolean reload = false;
       /** @serial This can be serialized */
  -    private boolean CACHE = true;
  +    private boolean isCaching = true;
       /** Base packages path for Turbine */
       private static final String TURBINE_PACKAGE = "org.apache.turbine.modules";
   
  @@ -85,7 +86,7 @@
       public GenericLoader()
       {
           super ();
  -        CACHE = TurbineResources
  +        isCaching = TurbineResources
               .getBoolean(TurbineConstants.MODULE_CACHE, true);
       }
   
  @@ -95,7 +96,7 @@
       public GenericLoader(int i)
       {
           super (i);
  -        CACHE = TurbineResources
  +        isCaching = TurbineResources
               .getBoolean(TurbineConstants.MODULE_CACHE, true);
       }
   
  @@ -106,7 +107,7 @@
        */
       public boolean cache()
       {
  -        return this.CACHE;
  +        return this.isCaching;
       }
   
       /**
  
  
  

--
To unsubscribe, e-mail:   <mailto:turbine-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:turbine-dev-help@jakarta.apache.org>


Mime
View raw message