commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ra...@apache.org
Subject svn commit: r450603 - /jakarta/commons/proper/scxml/trunk/src/main/java/org/apache/commons/scxml/SCXMLExecutor.java
Date Wed, 27 Sep 2006 22:22:36 GMT
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


Mime
View raw message