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

hategan at ci.uchicago.edu hategan at ci.uchicago.edu
Mon Jun 13 21:16:03 CDT 2011


Author: hategan
Date: 2011-06-13 21:16:03 -0500 (Mon, 13 Jun 2011)
New Revision: 4611

Modified:
   trunk/src/org/griphyn/vdl/mapping/file/ArrayFileMapper.java
Log:
generics

Modified: trunk/src/org/griphyn/vdl/mapping/file/ArrayFileMapper.java
===================================================================
--- trunk/src/org/griphyn/vdl/mapping/file/ArrayFileMapper.java	2011-06-14 01:44:12 UTC (rev 4610)
+++ trunk/src/org/griphyn/vdl/mapping/file/ArrayFileMapper.java	2011-06-14 02:16:03 UTC (rev 4611)
@@ -18,8 +18,8 @@
 public class ArrayFileMapper extends AbstractMapper {
 	public static final MappingParam PARAM_FILES = new MappingParam("files");
 
-	public Collection existing() {
-		List l = new ArrayList();
+	public Collection<Path> existing() {
+		List<Path> l = new ArrayList<Path>();
 		DSHandle dn = (DSHandle) PARAM_FILES.getRawValue(this);
 		if (dn == null) {
 		    throw new RuntimeException("Missing 'files' mapper attribute");




More information about the Swift-commit mailing list