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 2014/05/26 08:27:52 UTC

svn commit: r1597519 - in /myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago: context/TobagoContext.java internal/config/TobagoConfigImpl.java

Author: lofwyr
Date: Mon May 26 06:27:52 2014
New Revision: 1597519

URL: http://svn.apache.org/r1597519
Log:
checkstyle

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

Modified: myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/context/TobagoContext.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/context/TobagoContext.java?rev=1597519&r1=1597518&r2=1597519&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/context/TobagoContext.java (original)
+++ myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/context/TobagoContext.java Mon May 26 06:27:52 2014
@@ -56,7 +56,7 @@ public class TobagoContext {
     return MESSAGE_BUNDLE;
   }
 
-  public TobagoConfig getTobagoConfig () {
+  public TobagoConfig getTobagoConfig() {
     return TobagoConfig.getInstance(FacesContext.getCurrentInstance());
   }
 }

Modified: myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/config/TobagoConfigImpl.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/config/TobagoConfigImpl.java?rev=1597519&r1=1597518&r2=1597519&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/config/TobagoConfigImpl.java (original)
+++ myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/config/TobagoConfigImpl.java Mon May 26 06:27:52 2014
@@ -42,7 +42,7 @@ import java.util.Set;
 
 /**
  * Implementation of the Tobago configuration.
- *
+ * <p/>
  * All setters must are protected, so EL can't modify this config.
  */
 public class TobagoConfigImpl extends TobagoConfig {
@@ -91,7 +91,7 @@ public class TobagoConfigImpl extends To
     availableThemes = Collections.unmodifiableMap(availableThemes);
 
     if (renderersConfig instanceof RenderersConfigImpl) {
-      ((RenderersConfigImpl)renderersConfig).lock();
+      ((RenderersConfigImpl) renderersConfig).lock();
     }
     contentSecurityPolicy.lock();
   }
@@ -144,7 +144,7 @@ public class TobagoConfigImpl extends To
         checkThemeIsAvailable(name, theme);
         supportedThemes.add(theme);
         if (LOG.isDebugEnabled()) {
-          LOG.debug("name = '{}'",  name);
+          LOG.debug("name = '{}'", name);
           LOG.debug("supportedThemes.last() = '{}'", supportedThemes.get(supportedThemes.size() - 1));
         }
       }
@@ -331,7 +331,6 @@ public class TobagoConfigImpl extends To
   }
 
   public Map<String, String> getDefaultValidatorInfo() {
-LOG.error("unmodifiable=" + unmodifiable);
     // TODO: if the startup hasn't found a FacesContext and Application, this may depend on the order of the listeners.
     if (defaultValidatorInfo == null) {
       initDefaultValidatorInfo();