[jboss-cvs] jboss-seam/src/main/org/jboss/seam/contexts ...
Gavin King
gavin.king at jboss.com
Wed Oct 4 15:10:17 EDT 2006
User: gavin
Date: 06/10/04 15:10:17
Modified: src/main/org/jboss/seam/contexts Lifecycle.java
Log:
oops, fix npe
Revision Changes Path
1.54 +3 -2 jboss-seam/src/main/org/jboss/seam/contexts/Lifecycle.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Lifecycle.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/contexts/Lifecycle.java,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -b -r1.53 -r1.54
--- Lifecycle.java 3 Oct 2006 23:15:58 -0000 1.53
+++ Lifecycle.java 4 Oct 2006 19:10:17 -0000 1.54
@@ -30,7 +30,7 @@
/**
* @author Gavin King
* @author <a href="mailto:theute at jboss.org">Thomas Heute</a>
- * @version $Revision: 1.53 $
+ * @version $Revision: 1.54 $
*/
public class Lifecycle
{
@@ -351,7 +351,8 @@
if ( Contexts.isBusinessProcessContextActive() )
{
- boolean destroyBusinessProcessContext = !BusinessProcess.instance().hasCurrentProcess() ||
+ boolean destroyBusinessProcessContext = !Init.instance().isJbpmInstalled() ||
+ !BusinessProcess.instance().hasCurrentProcess() ||
//TODO: it would be nice if BP context spanned redirects along with the conversation
// this would also require changes to BusinessProcessContext
ProcessInstance.instance().hasEnded();
More information about the jboss-cvs-commits
mailing list