You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ra...@apache.org on 2006/09/28 00:22:36 UTC
svn commit: r450603 -
/jakarta/commons/proper/scxml/trunk/src/main/java/org/apache/commons/scxml/SCXMLExecutor.java
Author: rahul
Date: Wed Sep 27 15:22:35 2006
New Revision: 450603
URL: http://svn.apache.org/viewvc?view=rev&rev=450603
Log:
Constructor cleanup, noticed some duplicate lines.
Modified:
jakarta/commons/proper/scxml/trunk/src/main/java/org/apache/commons/scxml/SCXMLExecutor.java
Modified: jakarta/commons/proper/scxml/trunk/src/main/java/org/apache/commons/scxml/SCXMLExecutor.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/scxml/trunk/src/main/java/org/apache/commons/scxml/SCXMLExecutor.java?view=diff&rev=450603&r1=450602&r2=450603
==============================================================================
--- jakarta/commons/proper/scxml/trunk/src/main/java/org/apache/commons/scxml/SCXMLExecutor.java (original)
+++ jakarta/commons/proper/scxml/trunk/src/main/java/org/apache/commons/scxml/SCXMLExecutor.java Wed Sep 27 15:22:35 2006
@@ -187,7 +187,7 @@
final SCXMLSemantics semantics) {
this.eventdispatcher = evtDisp;
this.errorReporter = errRep;
- this.currentStatus = null;
+ this.currentStatus = new Status();
this.stateMachine = null;
if (semantics == null) {
// Use default semantics, if none provided
@@ -195,8 +195,6 @@
} else {
this.semantics = semantics;
}
- this.currentStatus = null;
- this.stateMachine = null;
this.scInstance = new SCInstance(this);
this.scInstance.setEvaluator(expEvaluator);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org