commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ohe...@apache.org
Subject svn commit: r1158114 - /commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/AbstractHierarchicalFileConfiguration.java
Date Tue, 16 Aug 2011 06:04:18 GMT
Author: oheger
Date: Tue Aug 16 06:04:18 2011
New Revision: 1158114

URL: http://svn.apache.org/viewvc?rev=1158114&view=rev
Log:
Checkstyle

Modified:
    commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/AbstractHierarchicalFileConfiguration.java

Modified: commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/AbstractHierarchicalFileConfiguration.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/AbstractHierarchicalFileConfiguration.java?rev=1158114&r1=1158113&r2=1158114&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/AbstractHierarchicalFileConfiguration.java
(original)
+++ commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/AbstractHierarchicalFileConfiguration.java
Tue Aug 16 06:04:18 2011
@@ -44,7 +44,7 @@ import org.apache.commons.configuration.
  * @since 1.2
  *
  * @author Emmanuel Bourg
- * @version $Revision$, $Date$
+ * @version $Id$
  */
 public abstract class AbstractHierarchicalFileConfiguration
 extends HierarchicalConfiguration
@@ -141,7 +141,7 @@ implements FileConfiguration, Configurat
 
     protected void addPropertyDirect(String key, Object obj)
     {
-        synchronized(delegate.getReloadLock())
+        synchronized (delegate.getReloadLock())
         {
             super.addPropertyDirect(key, obj);
             delegate.possiblySave();
@@ -150,7 +150,7 @@ implements FileConfiguration, Configurat
 
     public void clearProperty(String key)
     {
-        synchronized(delegate.getReloadLock())
+        synchronized (delegate.getReloadLock())
         {
             super.clearProperty(key);
             delegate.possiblySave();
@@ -159,7 +159,7 @@ implements FileConfiguration, Configurat
 
     public void clearTree(String key)
     {
-        synchronized(delegate.getReloadLock())
+        synchronized (delegate.getReloadLock())
         {
             super.clearTree(key);
             delegate.possiblySave();
@@ -168,7 +168,7 @@ implements FileConfiguration, Configurat
 
     public void setProperty(String key, Object value)
     {
-        synchronized(delegate.getReloadLock())
+        synchronized (delegate.getReloadLock())
         {
             super.setProperty(key, value);
             delegate.possiblySave();
@@ -302,7 +302,7 @@ implements FileConfiguration, Configurat
 
     private boolean reload(boolean checkReload)
     {
-        synchronized(delegate.getReloadLock())
+        synchronized (delegate.getReloadLock())
         {
             setDetailEvents(false);
             try
@@ -349,7 +349,7 @@ implements FileConfiguration, Configurat
     public boolean containsKey(String key)
     {
         reload();
-        synchronized(delegate.getReloadLock())
+        synchronized (delegate.getReloadLock())
         {
             return super.containsKey(key);
         }
@@ -358,7 +358,7 @@ implements FileConfiguration, Configurat
     public Iterator getKeys()
     {
         reload();
-        synchronized(delegate.getReloadLock())
+        synchronized (delegate.getReloadLock())
         {
             return super.getKeys();
         }
@@ -367,7 +367,7 @@ implements FileConfiguration, Configurat
     public Iterator getKeys(String prefix)
     {
         reload();
-        synchronized(delegate.getReloadLock())
+        synchronized (delegate.getReloadLock())
         {
             return super.getKeys(prefix);
         }
@@ -378,7 +378,7 @@ implements FileConfiguration, Configurat
         if (reload(true))
         {
             // Avoid reloading again and getting the same error.
-            synchronized(delegate.getReloadLock())
+            synchronized (delegate.getReloadLock())
             {
                 return super.getProperty(key);
             }
@@ -389,7 +389,7 @@ implements FileConfiguration, Configurat
     public boolean isEmpty()
     {
         reload();
-        synchronized(delegate.getReloadLock())
+        synchronized (delegate.getReloadLock())
         {
             return super.isEmpty();
         }
@@ -405,7 +405,7 @@ implements FileConfiguration, Configurat
      */
     public void addNodes(String key, Collection nodes)
     {
-        synchronized(delegate.getReloadLock())
+        synchronized (delegate.getReloadLock())
         {
             super.addNodes(key, nodes);
             delegate.possiblySave();
@@ -422,7 +422,7 @@ implements FileConfiguration, Configurat
     protected List fetchNodeList(String key)
     {
         reload();
-        synchronized(delegate.getReloadLock())
+        synchronized (delegate.getReloadLock())
         {
             return super.fetchNodeList(key);
         }



Mime
View raw message