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:44 UTC

[myfaces] branch master updated: MYFACES-4398

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

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


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

commit a32f6340521818c5d01ce17a00fb00ca3858d2da
Author: Thomas Andraschko <ta...@apache.org>
AuthorDate: Tue Apr 27 21:58:39 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 af94503..8605de0 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)