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

hategan at ci.uchicago.edu hategan at ci.uchicago.edu
Thu Jun 23 13:32:08 CDT 2011


Author: hategan
Date: 2011-06-23 13:32:08 -0500 (Thu, 23 Jun 2011)
New Revision: 4670

Modified:
   trunk/src/org/griphyn/vdl/karajan/lib/swiftscript/FileNames.java
Log:
close array created by @filenames

Modified: trunk/src/org/griphyn/vdl/karajan/lib/swiftscript/FileNames.java
===================================================================
--- trunk/src/org/griphyn/vdl/karajan/lib/swiftscript/FileNames.java	2011-06-23 18:31:20 UTC (rev 4669)
+++ trunk/src/org/griphyn/vdl/karajan/lib/swiftscript/FileNames.java	2011-06-23 18:32:08 UTC (rev 4670)
@@ -31,6 +31,8 @@
 		} catch (InvalidPathException e) {
 			throw new ExecutionException("Unexpected invalid path exception",e);
 		}
+		returnArray.closeShallow();
+		
 		int provid = VDLFunction.nextProvenanceID();
 		logProvenanceParameter(provid, (DSHandle) PA_VAR.getValue(stack), "input");
 		logProvenanceResult(provid, returnArray, "filenames");




More information about the Swift-commit mailing list