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 2018/12/05 12:51:04 UTC

[myfaces-tobago] branch master updated (abfedd3 -> b320580)

This is an automated email from the ASF dual-hosted git repository.

lofwyr pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git.


    from abfedd3  update npm-run-all to 4.1.5
     new af89c11  checkstyle
     new b320580  less logging

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../apache/myfaces/tobago/example/demo/NavigationTree.java   |  2 +-
 .../java/org/apache/myfaces/tobago/example/demo/Version.java | 12 ++++++------
 2 files changed, 7 insertions(+), 7 deletions(-)


[myfaces-tobago] 01/02: checkstyle

Posted by lo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

lofwyr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git

commit af89c117890c929c1ff07c1cf8329267c36605d4
Author: Udo Schnurpfeil <lo...@apache.org>
AuthorDate: Wed Dec 5 13:25:10 2018 +0100

    checkstyle
---
 .../java/org/apache/myfaces/tobago/example/demo/Version.java | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/Version.java b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/Version.java
index b3d6536..fe7abd9 100644
--- a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/Version.java
+++ b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/Version.java
@@ -28,9 +28,9 @@ import javax.inject.Named;
 @ApplicationScoped
 public class Version {
 
-  private static final boolean cdi10 = hasClass("javax.enterprise.context.Conversation");
-  private static final boolean cdi1112 = hasClass("javax.enterprise.context.Destroyed");
-  private static final boolean cdi20 = hasClass("javax.enterprise.context.BeforeDestroyed");
+  private static final boolean CDI10 = hasClass("javax.enterprise.context.Conversation");
+  private static final boolean CDI1112 = hasClass("javax.enterprise.context.Destroyed");
+  private static final boolean CDI20 = hasClass("javax.enterprise.context.BeforeDestroyed");
 
   private static boolean hasClass(String clazz) {
     try {
@@ -66,14 +66,14 @@ public class Version {
   }
 
   public boolean isCdiVersion10() {
-    return cdi10 && !cdi1112;
+    return CDI10 && !CDI1112;
   }
 
   public boolean isCdiVersion1112() {
-    return cdi1112 && !cdi20;
+    return CDI1112 && !CDI20;
   }
 
   public boolean isCdiVersion20() {
-    return cdi20;
+    return CDI20;
   }
 }


[myfaces-tobago] 02/02: less logging

Posted by lo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

lofwyr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git

commit b320580d2dce56c720f49bd15e4bee8c7baae8d9
Author: Udo Schnurpfeil <lo...@apache.org>
AuthorDate: Wed Dec 5 13:50:39 2018 +0100

    less logging
---
 .../java/org/apache/myfaces/tobago/example/demo/NavigationTree.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/NavigationTree.java b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/NavigationTree.java
index 23e4664..dfbfbd6 100644
--- a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/NavigationTree.java
+++ b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/NavigationTree.java
@@ -93,7 +93,7 @@ public class NavigationTree implements Serializable {
 //    map.put(tree.getBranch(), tree);
 
     for (final NavigationNode node : nodes) {
-      LOG.info("Creating node='{}'", node.getName());
+      LOG.debug("Creating node='{}'", node.getName());
       map.put(node.getBranch(), node);
       final String parent = node.getBranch().substring(0, node.getBranch().lastIndexOf('/'));
       if (!parent.equals("")) { // is root