[Swift-commit] r3411 - branches/woz-01/src/org/griphyn/vdl/karajan/lib

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Wed Jun 23 13:21:37 CDT 2010


Author: wozniak
Date: 2010-06-23 13:21:37 -0500 (Wed, 23 Jun 2010)
New Revision: 3411

Modified:
   branches/woz-01/src/org/griphyn/vdl/karajan/lib/SetFieldValue.java
Log:
Clean variable display


Modified: branches/woz-01/src/org/griphyn/vdl/karajan/lib/SetFieldValue.java
===================================================================
--- branches/woz-01/src/org/griphyn/vdl/karajan/lib/SetFieldValue.java	2010-06-23 16:30:12 UTC (rev 3410)
+++ branches/woz-01/src/org/griphyn/vdl/karajan/lib/SetFieldValue.java	2010-06-23 18:21:37 UTC (rev 3411)
@@ -69,8 +69,11 @@
 	    else {
 	        if (leaf instanceof AbstractDataNode) {
 	            AbstractDataNode data = (AbstractDataNode) leaf;
-	            String name = data.getDisplayableName() +
-                                  data.getPathFromRoot();
+                    Path path = data.getPathFromRoot();
+                    String p = path.toString();
+                    if (p.equals("$"))
+                        p = "";
+	            String name = data.getDisplayableName() + p;
 	            logger.info("Set: " + name + "=" + value);
 	        }
 	    }




More information about the Swift-commit mailing list