commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1089184 - /commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/names/DiscoverNamesInDictionary.java
Date Tue, 05 Apr 2011 19:58:16 GMT
Author: simonetripodi
Date: Tue Apr  5 19:58:16 2011
New Revision: 1089184

URL: http://svn.apache.org/viewvc?rev=1089184&view=rev
Log:
minor code format

Modified:
    commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/names/DiscoverNamesInDictionary.java

Modified: commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/names/DiscoverNamesInDictionary.java
URL: http://svn.apache.org/viewvc/commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/names/DiscoverNamesInDictionary.java?rev=1089184&r1=1089183&r2=1089184&view=diff
==============================================================================
--- commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/names/DiscoverNamesInDictionary.java
(original)
+++ commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/names/DiscoverNamesInDictionary.java
Tue Apr  5 19:58:16 2011
@@ -24,7 +24,6 @@ import org.apache.commons.discovery.Reso
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 
-
 /**
  * Recover resources from a Dictionary.  This covers Properties as well,
  * since <code>Properties extends Hashtable extends Dictionary</code>.
@@ -32,10 +31,8 @@ import org.apache.commons.logging.LogFac
  * The recovered value is expected to be either a <code>String</code>
  * or a <code>String[]</code>.
  */
-public class DiscoverNamesInDictionary
-    extends ResourceNameDiscoverImpl
-    implements ResourceNameDiscover
-{
+public class DiscoverNamesInDictionary extends ResourceNameDiscoverImpl implements ResourceNameDiscover
{
+
     private static Log log = LogFactory.getLog(DiscoverNamesInDictionary.class);
 
     /**
@@ -108,8 +105,9 @@ public class DiscoverNamesInDictionary
      */
     @Override
     public ResourceNameIterator findResourceNames(final String resourceName) {
-        if (log.isDebugEnabled())
+        if (log.isDebugEnabled()) {
             log.debug("find: resourceName='" + resourceName + "'");
+        }
 
         final String[] resources = dictionary.get(resourceName);
 
@@ -131,4 +129,5 @@ public class DiscoverNamesInDictionary
             }
         };
     }
+
 }



Mime
View raw message