stefano     00/07/21 16:54:08

  Modified:    src/org/apache/cocoon/framework Configurations.java
  Log:
  Grrrr, I hate when people screw the tabs...
  
  Revision  Changes    Path
  1.9       +23 -23    
xml-cocoon/src/org/apache/cocoon/framework/Configurations.java
  
  Index: Configurations.java
  ===================================================================
  RCS file: 
/home/cvs/xml-cocoon/src/org/apache/cocoon/framework/Configurations.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- Configurations.java       2000/07/06 03:40:11     1.8
  +++ Configurations.java       2000/07/21 23:54:08     1.9
  @@ -1,4 +1,4 @@
  -/*-- $Id: Configurations.java,v 1.8 2000/07/06 03:40:11 balld Exp $ --
  +/*-- $Id: Configurations.java,v 1.9 2000/07/21 23:54:08 stefano Exp $ --
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -58,16 +58,16 @@
    * class to work.
    *
    * @author <a href="mailto:[EMAIL PROTECTED]">Stefano Mazzocchi</a>
  - * @version $Revision: 1.8 $ $Date: 2000/07/06 03:40:11 $
  + * @version $Revision: 1.9 $ $Date: 2000/07/21 23:54:08 $
    */
   
   public class Configurations {
   
       protected String baseName;
  -     protected Properties properties;
  +    protected Properties properties;
   
       public Configurations() {
  -             properties = new Properties();
  +        properties = new Properties();
       }
   
       /**
  @@ -81,11 +81,11 @@
        * Create the class with given defaults and from the file
        */
       public Configurations(String file, Configurations defaults) throws 
Exception {
  -             if (defaults != null) {
  -             properties = new Properties(defaults.properties);
  -             } else {
  -                     properties = new Properties();
  -             }
  +        if (defaults != null) {
  +            properties = new Properties(defaults.properties);
  +        } else {
  +            properties = new Properties();
  +        }
           InputStream input = new FileInputStream(file);
           properties.load(input);
           input.close();
  @@ -114,7 +114,7 @@
        * Create the class with given defaults.
        */
       public Configurations(Configurations c) {
  -             properties = new Properties(c.properties);
  +        properties = new Properties(c.properties);
       }
   
       /**
  @@ -124,12 +124,12 @@
           properties.put(key, value);
       }
   
  -     /**
  -      * The JavaModule interpreter is using this method. should it?
  -      */
  -     public void put(String key, Object value) {
  -             properties.put(key,value);
  -     }
  +    /**
  +     * The JavaModule interpreter is using this method. should it?
  +     */
  +    public void put(String key, Object value) {
  +        properties.put(key,value);
  +    }
   
       /**
        * Get the configuration.
  @@ -201,15 +201,15 @@
       public Properties getProperties() {
           return this.properties;
       }
  -     
  +    
       public void setBasename(String baseName) {
           this.baseName = baseName;
       }
   
  -     /**
  -      * Used by XSPProcessor, but this maybe should be getKeys()?
  -      */
  -     public Enumeration keys() {
  -             return properties.keys();
  -     }
  +    /**
  +     * Used by XSPProcessor, but this maybe should be getKeys()?
  +     */
  +    public Enumeration keys() {
  +        return properties.keys();
  +    }
   }
  
  
  

Reply via email to