Cleanup
This commit is contained in:
@@ -115,8 +115,7 @@ public class JsfView implements View {
|
||||
}
|
||||
|
||||
public Object getUserEventState() {
|
||||
// Set the temporary UIViewRoot state in Flash for the redirect, regardless of whether the lifecycle
|
||||
// executed or not (i.e., it's still necessary when starting a flow and rendering a new view instance)
|
||||
// Set the temporary UIViewRoot state so that it will be available across the redirect
|
||||
return new ViewRootHolder(getViewRoot());
|
||||
}
|
||||
|
||||
|
||||
@@ -212,7 +212,7 @@ public class JsfViewTests extends TestCase {
|
||||
|
||||
JsfView createdView = new JsfView(new UIViewRoot(), jsfMock.lifecycle(), context);
|
||||
|
||||
assertFalse("No user ever should be queued", createdView.userEventQueued());
|
||||
assertFalse("No user event should be queued", createdView.userEventQueued());
|
||||
}
|
||||
|
||||
public final void testUserEventQueued_FormSubmitted() {
|
||||
|
||||
Reference in New Issue
Block a user