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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to