From e7b039c24cd2e139e27d3210eea63709d89ec4e2 Mon Sep 17 00:00:00 2001 From: melloware Date: Fri, 28 Jun 2024 15:14:40 -0400 Subject: [PATCH] Fixed CrudView decode in showcase --- .../org/primefaces/showcase/util/FileContentMarkerUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/primefaces/showcase/util/FileContentMarkerUtil.java b/src/main/java/org/primefaces/showcase/util/FileContentMarkerUtil.java index 844396a06..c458a027c 100644 --- a/src/main/java/org/primefaces/showcase/util/FileContentMarkerUtil.java +++ b/src/main/java/org/primefaces/showcase/util/FileContentMarkerUtil.java @@ -144,7 +144,7 @@ private static FileContent readFileContent(String fileName, InputStream inputStr } private static void addBean(FacesContext facesContext, Set javaFiles, String group) throws Exception { - Object bean = null; + Object bean; try { bean = facesContext.getApplication() .evaluateExpressionGet(facesContext, "#{" + group + "}", Object.class);