You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2013/08/26 12:59:36 UTC

svn commit: r1517491 - /myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/context/ResourceLocator.java

Author: lofwyr
Date: Mon Aug 26 10:59:35 2013
New Revision: 1517491

URL: http://svn.apache.org/r1517491
Log:
code style

Modified:
    myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/context/ResourceLocator.java

Modified: myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/context/ResourceLocator.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/context/ResourceLocator.java?rev=1517491&r1=1517490&r2=1517491&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/context/ResourceLocator.java (original)
+++ myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/context/ResourceLocator.java Mon Aug 26 10:59:35 2013
@@ -132,7 +132,7 @@ class ResourceLocator {
 
     try {
       if (LOG.isInfoEnabled()) {
-        LOG.info("Searching for and '" + META_INF_TOBAGO_CONFIG_XML +"'");
+        LOG.info("Searching for and '" + META_INF_TOBAGO_CONFIG_XML + "'");
       }
       final ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
       final Enumeration<URL> urls = classLoader.getResources(META_INF_TOBAGO_CONFIG_XML);
@@ -213,7 +213,7 @@ class ResourceLocator {
       while (urls.hasMoreElements()) {
         URL resourcesUrl = urls.nextElement();
 
-        LOG.info("resourcesUrl='"+resourcesUrl + "'");
+        LOG.info("resourcesUrl='" + resourcesUrl + "'");
         if (!resourcesUrl.toString().matches(".*/WEB-INF/lib/.*\\.jar\\!.*")) {
           LOG.info("skip ...");
           continue;
@@ -300,7 +300,8 @@ class ResourceLocator {
     }
   }
 
-  private void resolveTheme(ResourceManagerImpl resources, File directoryFile,
+  private void resolveTheme(
+      ResourceManagerImpl resources, File directoryFile,
       String resourcePath, String prefix, boolean inResourcePath) throws ServletException {
     File[] files = directoryFile.listFiles();
     if (files != null) {
@@ -401,7 +402,7 @@ class ResourceLocator {
       IOUtils.closeQuietly(stream);
     }
 
-    for (Enumeration e = temp.propertyNames(); e.hasMoreElements();) {
+    for (Enumeration e = temp.propertyNames(); e.hasMoreElements(); ) {
       String key = (String) e.nextElement();
       resources.add(directory + '/' + locale + '/' + key, temp.getProperty(key));
       if (LOG.isDebugEnabled()) {