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

hategan at ci.uchicago.edu hategan at ci.uchicago.edu
Thu Jul 7 13:23:43 CDT 2011


Author: hategan
Date: 2011-07-07 13:23:43 -0500 (Thu, 07 Jul 2011)
New Revision: 4795

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

Modified: trunk/src/org/griphyn/vdl/mapping/file/SingleFileMapper.java
===================================================================
--- trunk/src/org/griphyn/vdl/mapping/file/SingleFileMapper.java	2011-07-07 18:02:04 UTC (rev 4794)
+++ trunk/src/org/griphyn/vdl/mapping/file/SingleFileMapper.java	2011-07-07 18:23:43 UTC (rev 4795)
@@ -20,12 +20,12 @@
 		super();
 	}
 
-	public Collection existing() {
+	public Collection<Path> existing() {
 		if (new AbsFile(PARAM_FILE.getStringValue(this)).exists()) {
 			return Arrays.asList(new Path[] {Path.EMPTY_PATH});
 		}
 		else {
-			return Collections.EMPTY_LIST;
+			return Collections.emptyList();
 		}
 	}
 




More information about the Swift-commit mailing list