[Swift-commit] r2540 - in trunk/src/org/griphyn/vdl: engine karajan/lib

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Sat Feb 14 07:56:10 CST 2009


Author: benc
Date: 2009-02-14 07:56:10 -0600 (Sat, 14 Feb 2009)
New Revision: 2540

Modified:
   trunk/src/org/griphyn/vdl/engine/Karajan.java
   trunk/src/org/griphyn/vdl/karajan/lib/SliceArray.java
Log:
remove System.err printouts, mostly incorrectly committed with r2538

Modified: trunk/src/org/griphyn/vdl/engine/Karajan.java
===================================================================
--- trunk/src/org/griphyn/vdl/engine/Karajan.java	2009-02-14 13:55:03 UTC (rev 2539)
+++ trunk/src/org/griphyn/vdl/engine/Karajan.java	2009-02-14 13:56:10 UTC (rev 2540)
@@ -1011,10 +1011,8 @@
 
 boolean arrayMode = false;
 			if(parentType.endsWith("[]")) {
-System.err.println("Strimming the end off "+parentType+" to give ...");
-arrayMode=true;
+				arrayMode=true;
 				parentType = parentType.substring(0, parentType.length() - 2);
-System.err.println("... to give "+parentType);
 			}
 
 			String actualType = null;					
@@ -1068,7 +1066,7 @@
 				st.setAttribute("elements", elemST);				
 			}
 			if (elemType.equals(""))
-				System.err.println("WARNING: Empty array constant");
+				logger.warn("WARNING: Empty array constant");
 			st.setAttribute("datatype", elemType + "[]");
 			return st;
 		} else if (expressionQName.equals(RANGE_EXPR)) {

Modified: trunk/src/org/griphyn/vdl/karajan/lib/SliceArray.java
===================================================================
--- trunk/src/org/griphyn/vdl/karajan/lib/SliceArray.java	2009-02-14 13:55:03 UTC (rev 2539)
+++ trunk/src/org/griphyn/vdl/karajan/lib/SliceArray.java	2009-02-14 13:56:10 UTC (rev 2540)
@@ -65,9 +65,7 @@
 				}
 
 				String destinationTypeName = (String) PA_TYPE.getValue(stack);
-System.err.println("Looking up destination type "+destinationTypeName);
 				Type destinationType = Types.getType(destinationTypeName);
-System.err.println("Got type object "+destinationType);
 				RootArrayDataNode destinationArray = new RootArrayDataNode(destinationType);
 
 
@@ -79,7 +77,6 @@
 					Pair pair = (Pair) it.next();
 					Object index = pair.get(0);
 					DSHandle sourceElement = (DSHandle) pair.get(1);
-System.err.println("Processing index: "+index+" with sourceElement="+sourceElement);
 
 
                                 	Path p = Path.EMPTY_PATH.addLast(String.valueOf(index), true);




More information about the Swift-commit mailing list