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

hategan at ci.uchicago.edu hategan at ci.uchicago.edu
Fri Sep 14 17:34:44 CDT 2012


Author: hategan
Date: 2012-09-14 17:34:44 -0500 (Fri, 14 Sep 2012)
New Revision: 5923

Modified:
   trunk/src/org/griphyn/vdl/mapping/file/ConcurrentMapper.java
Log:
ehm, fixed wrong value type

Modified: trunk/src/org/griphyn/vdl/mapping/file/ConcurrentMapper.java
===================================================================
--- trunk/src/org/griphyn/vdl/mapping/file/ConcurrentMapper.java	2012-09-14 22:33:41 UTC (rev 5922)
+++ trunk/src/org/griphyn/vdl/mapping/file/ConcurrentMapper.java	2012-09-14 22:34:44 UTC (rev 5923)
@@ -35,7 +35,7 @@
 public class ConcurrentMapper extends AbstractFileMapper {
 	public static final MappingParam PARAM_THREAD_PREFIX = new MappingParam("thread_prefix", "");
 	
-	private Map<Path, Path> remappedPaths;
+	private Map<Path, PhysicalFormat> remappedPaths;
 
 	public ConcurrentMapper() {
 		super(new ConcurrentElementMapper());
@@ -86,7 +86,7 @@
         FileGarbageCollector.getDefault().markAsPersistent(old);
         
         if (remappedPaths == null) {
-            remappedPaths = new HashMap();
+            remappedPaths = new HashMap<Path, PhysicalFormat>();
         }
         PhysicalFormat pf = sourceMapper.map(sourcePath);
         remappedPaths.put(path, pf);




More information about the Swift-commit mailing list