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 2022/02/09 11:53:37 UTC

[myfaces-tobago] branch tobago-2.x updated: build: fix

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

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


The following commit(s) were added to refs/heads/tobago-2.x by this push:
     new de23a12  build: fix
de23a12 is described below

commit de23a1267942f8b25b079e9e7b6f152749397c1a
Author: Udo Schnurpfeil <ud...@irian.eu>
AuthorDate: Wed Feb 9 12:50:01 2022 +0100

    build: fix
---
 .../example/demo/MultiplePageDeclarationLanguageNavigationHandler.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/MultiplePageDeclarationLanguageNavigationHandler.java b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/MultiplePageDeclarationLanguageNavigationHandler.java
index a329be2..5806034 100644
--- a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/MultiplePageDeclarationLanguageNavigationHandler.java
+++ b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/MultiplePageDeclarationLanguageNavigationHandler.java
@@ -47,7 +47,6 @@ public class MultiplePageDeclarationLanguageNavigationHandler extends Navigation
   public void handleNavigation(
       final FacesContext facesContext, final String fromAction, final String outcomeParameter) {
 
-    final String original = outcome;
     String outcome = outcomeParameter;
 
     if (outcome != null) {
@@ -74,7 +73,7 @@ public class MultiplePageDeclarationLanguageNavigationHandler extends Navigation
     }
 
     if (LOG.isDebugEnabled()) {
-      LOG.debug("Original outcome='" + original + "', adjusted outcome = '" + outcome + "'");
+      LOG.debug("Original outcome='" + outcomeParameter + "', adjusted outcome = '" + outcome + "'");
     }
 
     if (StringUtils.startsWith(outcome, "/content/")) {