You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by si...@apache.org on 2011/04/05 15:48:30 UTC
svn commit: r1089042 -
/commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/tools/ManagedProperties.java
Author: simonetripodi
Date: Tue Apr 5 13:48:30 2011
New Revision: 1089042
URL: http://svn.apache.org/viewvc?rev=1089042&view=rev
Log:
minor code format
Modified:
commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/tools/ManagedProperties.java
Modified: commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/tools/ManagedProperties.java
URL: http://svn.apache.org/viewvc/commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/tools/ManagedProperties.java?rev=1089042&r1=1089041&r2=1089042&view=diff
==============================================================================
--- commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/tools/ManagedProperties.java (original)
+++ commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/tools/ManagedProperties.java Tue Apr 5 13:48:30 2011
@@ -29,8 +29,6 @@ import org.apache.commons.discovery.jdk.
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
-
-
/**
* <p>This class may disappear in the future, or be moved to another project..
* </p>
@@ -78,6 +76,7 @@ import org.apache.commons.logging.LogFac
* </p>
*/
public class ManagedProperties {
+
private static Log log = LogFactory.getLog(ManagedProperties.class);
/**
@@ -97,7 +96,6 @@ public class ManagedProperties {
private static final Map<ClassLoader, Map<String, Value>> propertiesCache =
new HashMap<ClassLoader, Map<String, Value>>();
-
/**
* Get value for property bound to the current thread context class loader.
*
@@ -206,7 +204,6 @@ public class ManagedProperties {
setProperties(newProperties, false);
}
-
/**
* Set property values for <code>Properties</code> bound to the
* current thread context class loader.
@@ -230,7 +227,6 @@ public class ManagedProperties {
}
}
-
/**
* Return list of all property names. This is an expensive
* operation: ON EACH CALL it walks through all property lists
@@ -289,7 +285,6 @@ public class ManagedProperties {
return p;
}
-
/***************** INTERNAL IMPLEMENTATION *****************/
private static class Value {
@@ -360,4 +355,5 @@ public class ManagedProperties {
}
});
}
+
}