You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ta...@apache.org on 2021/04/27 19:58:55 UTC

[myfaces] branch 2.3-next updated: MYFACES-4398

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

tandraschko pushed a commit to branch 2.3-next
in repository https://gitbox.apache.org/repos/asf/myfaces.git


The following commit(s) were added to refs/heads/2.3-next by this push:
     new a4dfdbc  MYFACES-4398
a4dfdbc is described below

commit a4dfdbc8c8741e834fc5be2000a7c99c03118750
Author: Thomas Andraschko <ta...@apache.org>
AuthorDate: Tue Apr 27 21:58:50 2021 +0200

    MYFACES-4398
---
 impl/src/main/java/org/apache/myfaces/renderkit/ErrorPageWriter.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/impl/src/main/java/org/apache/myfaces/renderkit/ErrorPageWriter.java b/impl/src/main/java/org/apache/myfaces/renderkit/ErrorPageWriter.java
index 9f9a5b1..9fc20e1 100644
--- a/impl/src/main/java/org/apache/myfaces/renderkit/ErrorPageWriter.java
+++ b/impl/src/main/java/org/apache/myfaces/renderkit/ErrorPageWriter.java
@@ -1120,7 +1120,7 @@ public final class ErrorPageWriter
         }
 
         Integer count = visitedFacetCount.get(component);
-        return count == null ? 0 : null;
+        return count == null ? 0 : count;
     }
 
     private static void incrementVisitedFacetCount(FacesContext facesContext, UIComponent component)