From 50e37ecba43dbeceeda2df17112c683e00c3bc1b Mon Sep 17 00:00:00 2001 From: Keith Donald Date: Tue, 6 May 2008 14:34:45 +0000 Subject: [PATCH] harmless typo --- .../java/org/springframework/faces/webflow/JsfViewFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-faces/src/main/java/org/springframework/faces/webflow/JsfViewFactory.java b/spring-faces/src/main/java/org/springframework/faces/webflow/JsfViewFactory.java index 983575fc..3fbb00f2 100644 --- a/spring-faces/src/main/java/org/springframework/faces/webflow/JsfViewFactory.java +++ b/spring-faces/src/main/java/org/springframework/faces/webflow/JsfViewFactory.java @@ -120,7 +120,7 @@ public class JsfViewFactory implements ViewFactory { } private boolean viewAlreadySet(FacesContext facesContext) { - if (facesContext.getViewRoot() != null && facesContext.getViewRoot() != null) { + if (facesContext.getViewRoot() != null) { // the corner case where a before RESTORE_VIEW PhaseListener has handled setting the UIViewRoot return true; } else {