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/07/09 17:05:40 UTC

svn commit: r1609198 - /myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/NavigationTree.java

Author: lofwyr
Date: Wed Jul  9 15:05:39 2014
New Revision: 1609198

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

Modified:
    myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/NavigationTree.java

Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/NavigationTree.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/NavigationTree.java?rev=1609198&r1=1609197&r2=1609198&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/NavigationTree.java (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/NavigationTree.java Wed Jul  9 15:05:39 2014
@@ -61,7 +61,6 @@ public class NavigationTree implements S
    */
 //  @Inject
 //  private ServletContext servletContext;
-
   public NavigationTree() {
     LOG.info("<init> " + this);
   }
@@ -77,7 +76,7 @@ public class NavigationTree implements S
     final List<NavigationNode> nodes = new ArrayList<NavigationNode>();
     for (final String path : list) {
 
-      if (path.contains("/x-") || ! path.contains(".xhtml")) {
+      if (path.contains("/x-") || !path.contains(".xhtml")) {
         // ignoring excluded files
         continue;
       }