[cvs] expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/core/controller Controller.java

JCorporate Ltd jcorp at jcorp2.servlets.net
Fri May 21 19:18:25 PDT 2004


Update of /home/javacorp/.cvs/expresso/expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/core/controller
In directory jcorp2.servlets.net:/tmp/cvs-serv13534

Modified Files:
	Controller.java 
Log Message:
protect against null finalState


Index: Controller.java
===================================================================
RCS file: /home/javacorp/.cvs/expresso/expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/core/controller/Controller.java,v
retrieving revision 1.89
retrieving revision 1.90
diff -C2 -d -r1.89 -r1.90
*** Controller.java	22 May 2004 01:19:34 -0000	1.89
--- Controller.java	22 May 2004 02:18:23 -0000	1.90
***************
*** 2497,2503 ****
              nextTransition = successTransition;
  
! 
!             if ((nextTransition == null) &&
!                     (nextState.getName().equals(getFinalState().getName()))) {
                  if (getControllerChainingTransition() != null) {
  
--- 2497,2501 ----
              nextTransition = successTransition;
  
!             if ((nextTransition == null) && isFinalState(nextState.getName()) ) {
                  if (getControllerChainingTransition() != null) {
  



More information about the cvs mailing list