You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by dg...@apache.org on 2003/09/22 02:30:01 UTC

cvs commit: jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/impl PropertyResources.java

dgraham     2003/09/21 17:30:01

  Modified:    resources/src/java/org/apache/commons/resources/impl
                        PropertyResources.java
  Log:
  Made log member private to prevent confusing log messages.
  
  Revision  Changes    Path
  1.6       +8 -22     jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/impl/PropertyResources.java
  
  Index: PropertyResources.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/impl/PropertyResources.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- PropertyResources.java	21 Jul 2003 04:57:21 -0000	1.5
  +++ PropertyResources.java	22 Sep 2003 00:30:01 -0000	1.6
  @@ -59,10 +59,8 @@
    *
    */
   
  -
   package org.apache.commons.resources.impl;
   
  -
   import java.io.FileNotFoundException;
   import java.io.IOException;
   import java.io.InputStream;
  @@ -73,8 +71,6 @@
   
   import org.apache.commons.logging.Log;
   import org.apache.commons.logging.LogFactory;
  -import org.apache.commons.resources.Resources;
  -
   
   /**
    * <p>Concrete implementation of {@link Resources} that wraps a family
  @@ -96,13 +92,15 @@
    * @author Craig R. McClanahan
    * @version $Revision$ $Date$
    */
  -
   public class PropertyResources extends CollectionResourcesBase {
   
  +    /**
  +     * <p>The <code>Log</code> instance for this class.</p>
  +     */
  +    private static final Log log = LogFactory.getLog(PropertyResources.class);
   
       // ----------------------------------------------------------- Constructors
   
  -
       /**
        * <p>Create a new {@link Resources} instance with the specified
        * logical name and base resource URL.</p>
  @@ -112,20 +110,8 @@
        *  the resource keys and values
        */
       public PropertyResources(String name, String base) {
  -
           super(name, base);
  -
       }
  -
  -
  -    // ----------------------------------------------------- Instance Variables
  -
  -
  -    /**
  -     * <p>The <code>Log</code> instance for this class.</p>
  -     */
  -    protected static final Log log =
  -        LogFactory.getLog(PropertyResources.class);
   
   
       // ------------------------------------------------------ Protected Methods
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org