[Swift-commit] r5990 - branches/release-0.94/src/org/griphyn/vdl/engine

davidk at ci.uchicago.edu davidk at ci.uchicago.edu
Wed Oct 24 16:20:03 CDT 2012


Author: davidk
Date: 2012-10-24 16:20:03 -0500 (Wed, 24 Oct 2012)
New Revision: 5990

Modified:
   branches/release-0.94/src/org/griphyn/vdl/engine/Karajan.java
Log:
Applying Mihael's fix for bug 857 to 0.94 branch


Modified: branches/release-0.94/src/org/griphyn/vdl/engine/Karajan.java
===================================================================
--- branches/release-0.94/src/org/griphyn/vdl/engine/Karajan.java	2012-10-24 20:39:03 UTC (rev 5989)
+++ branches/release-0.94/src/org/griphyn/vdl/engine/Karajan.java	2012-10-24 21:20:03 UTC (rev 5990)
@@ -884,7 +884,10 @@
     @SuppressWarnings("unchecked")
     private boolean allVariables(Object st) {
         List<StringTemplate> l;
-        if (st instanceof List) {
+        if (st == null) {
+            return true;
+        }
+        else if(st instanceof List) {
             l = (List<StringTemplate>) st;
         }
         else {




More information about the Swift-commit mailing list