commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ra...@apache.org
Subject svn commit: r727192 - /commons/proper/scxml/trunk/src/main/java/org/apache/commons/scxml/io/SCXMLDigester.java
Date Tue, 16 Dec 2008 22:15:27 GMT
Author: rahul
Date: Tue Dec 16 14:15:26 2008
New Revision: 727192

URL: http://svn.apache.org/viewvc?rev=727192&view=rev
Log:
Fix potential NPE and add consistent legacy flags.

Modified:
    commons/proper/scxml/trunk/src/main/java/org/apache/commons/scxml/io/SCXMLDigester.java

Modified: commons/proper/scxml/trunk/src/main/java/org/apache/commons/scxml/io/SCXMLDigester.java
URL: http://svn.apache.org/viewvc/commons/proper/scxml/trunk/src/main/java/org/apache/commons/scxml/io/SCXMLDigester.java?rev=727192&r1=727191&r2=727192&view=diff
==============================================================================
--- commons/proper/scxml/trunk/src/main/java/org/apache/commons/scxml/io/SCXMLDigester.java
(original)
+++ commons/proper/scxml/trunk/src/main/java/org/apache/commons/scxml/io/SCXMLDigester.java
Tue Dec 16 14:15:26 2008
@@ -250,8 +250,8 @@
 
         if (scxml != null) {
             ModelUpdater.updateSCXML(scxml);
+            scxml.setLegacy(true);
         }
-        scxml.setLegacy(true);
 
         return scxml;
 
@@ -312,6 +312,7 @@
 
         if (scxml != null) {
             ModelUpdater.updateSCXML(scxml);
+            scxml.setLegacy(true);
         }
 
         return scxml;
@@ -367,6 +368,7 @@
 
         if (scxml != null) {
             ModelUpdater.updateSCXML(scxml);
+            scxml.setLegacy(true);
         }
 
         return scxml;



Mime
View raw message