[Swift-commit] r2427 - trunk/src/org/griphyn/vdl/mapping/file

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Sat Jan 10 09:33:00 CST 2009


Author: benc
Date: 2009-01-10 09:32:59 -0600 (Sat, 10 Jan 2009)
New Revision: 2427

Modified:
   trunk/src/org/griphyn/vdl/mapping/file/ArrayFileMapper.java
Log:
some debugging statements in ArrayFileMapper

Modified: trunk/src/org/griphyn/vdl/mapping/file/ArrayFileMapper.java
===================================================================
--- trunk/src/org/griphyn/vdl/mapping/file/ArrayFileMapper.java	2009-01-10 09:52:47 UTC (rev 2426)
+++ trunk/src/org/griphyn/vdl/mapping/file/ArrayFileMapper.java	2009-01-10 15:32:59 UTC (rev 2427)
@@ -42,11 +42,13 @@
 			// we could typecheck more elegantly here to make sure that
 			// we really do have an array of strings as parameter.
 			DSHandle dn = (DSHandle) PARAM_FILES.getRawValue(this);
+			assert(dn.isClosed());
 
 			DSHandle srcNode = null;
 			try {
 				srcNode = dn.getField(path);
 			} catch(InvalidPathException e) {
+				logger.error("Invalid path exception "+e+" for path "+path,e);
 				return null;
 			}
 			String returnValue = srcNode.getValue().toString();




More information about the Swift-commit mailing list