commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ebo...@apache.org
Subject svn commit: r354019 - in /jakarta/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration: ConfigurationMap.java PropertiesConfiguration.java beanutils/ConfigurationDynaClass.java
Date Mon, 05 Dec 2005 08:23:58 GMT
Author: ebourg
Date: Mon Dec  5 00:23:53 2005
New Revision: 354019

URL: http://svn.apache.org/viewcvs?rev=354019&view=rev
Log:
Checkstyle changes (private properties, declaration order, white spaces)

Modified:
    jakarta/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/ConfigurationMap.java
    jakarta/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/PropertiesConfiguration.java
    jakarta/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/beanutils/ConfigurationDynaClass.java

Modified: jakarta/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/ConfigurationMap.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/ConfigurationMap.java?rev=354019&r1=354018&r2=354019&view=diff
==============================================================================
--- jakarta/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/ConfigurationMap.java
(original)
+++ jakarta/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/ConfigurationMap.java
Mon Dec  5 00:23:53 2005
@@ -39,18 +39,7 @@
     /**
      * The <code>Configuration</code> wrapped by this class.
      */
-    Configuration configuration;
-
-    /**
-     * Returns the wrapped <code>Configuration</code> object.
-     *
-     * @return the wrapped configuration
-     * @since 1.2
-     */
-    public Configuration getConfiguration()
-    {
-        return configuration;
-    }
+    private Configuration configuration;
 
     /**
      * Creates a new instance of a <code>ConfigurationMap</code>
@@ -62,6 +51,17 @@
     public ConfigurationMap(Configuration configuration)
     {
         this.configuration = configuration;
+    }
+
+    /**
+     * Returns the wrapped <code>Configuration</code> object.
+     *
+     * @return the wrapped configuration
+     * @since 1.2
+     */
+    public Configuration getConfiguration()
+    {
+        return configuration;
     }
 
     /**

Modified: jakarta/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/PropertiesConfiguration.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/PropertiesConfiguration.java?rev=354019&r1=354018&r2=354019&view=diff
==============================================================================
--- jakarta/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/PropertiesConfiguration.java
(original)
+++ jakarta/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/PropertiesConfiguration.java
Mon Dec  5 00:23:53 2005
@@ -155,10 +155,10 @@
 public class PropertiesConfiguration extends AbstractFileConfiguration
 {
     /** The list of possible key/value separators */
-    private static final char[] SEPARATORS = new char[] { '=', ':' };
+    private static final char[] SEPARATORS = new char[] {'=', ':'};
 
     /** The white space characters used as key/value separators. */
-    private static final char[] WHITE_SPACE = new char[] { ' ', '\t', '\f' };
+    private static final char[] WHITE_SPACE = new char[]{' ', '\t', '\f'};
 
     /**
      * The default encoding (ISO-8859-1 as specified by

Modified: jakarta/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/beanutils/ConfigurationDynaClass.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/beanutils/ConfigurationDynaClass.java?rev=354019&r1=354018&r2=354019&view=diff
==============================================================================
--- jakarta/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/beanutils/ConfigurationDynaClass.java
(original)
+++ jakarta/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/beanutils/ConfigurationDynaClass.java
Mon Dec  5 00:23:53 2005
@@ -42,7 +42,7 @@
     private static Log log = LogFactory.getLog(ConfigurationDynaClass.class);
 
     /** Stores the associated configuration.*/
-    Configuration configuration;
+    private Configuration configuration;
 
     /**
      * Construct an instance of a <code>ConfigurationDynaClass</code>



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


Mime
View raw message