[Swift-commit] r5836 - trunk/src/org/griphyn/vdl/karajan/lib

hategan at ci.uchicago.edu hategan at ci.uchicago.edu
Mon Jul 16 18:08:30 CDT 2012


Author: hategan
Date: 2012-07-16 18:08:30 -0500 (Mon, 16 Jul 2012)
New Revision: 5836

Modified:
   trunk/src/org/griphyn/vdl/karajan/lib/UnitStart.java
Log:
fixed tracking of uppercase variables

Modified: trunk/src/org/griphyn/vdl/karajan/lib/UnitStart.java
===================================================================
--- trunk/src/org/griphyn/vdl/karajan/lib/UnitStart.java	2012-07-15 00:06:37 UTC (rev 5835)
+++ trunk/src/org/griphyn/vdl/karajan/lib/UnitStart.java	2012-07-16 23:08:30 UTC (rev 5836)
@@ -23,6 +23,7 @@
 import org.griphyn.vdl.mapping.DSHandle;
 
 public class UnitStart extends FlowNode {
+	public static final Logger uslogger = Logger.getLogger(UnitStart.class);
     // keep compatibility with log()
     public static final Logger logger = Logger.getLogger("swift");
     
@@ -63,10 +64,10 @@
         for (String name : names) {
         	if (deep) {
         	    try {
-                    l.add((DSHandle) stack.getVar(name));
+                    l.add((DSHandle) stack.getVar(name.toLowerCase()));
                 }
                 catch (VariableNotFoundException e) {
-                    e.printStackTrace();
+                    logger.info("Could not find variable " + name, e);
                 }
         	}
         	else {




More information about the Swift-commit mailing list