[Swift-commit] r4723 - trunk/src/org/griphyn/vdl/mapping/file
hategan at ci.uchicago.edu
hategan at ci.uchicago.edu
Sat Jul 2 00:56:01 CDT 2011
Author: hategan
Date: 2011-07-02 00:55:59 -0500 (Sat, 02 Jul 2011)
New Revision: 4723
Modified:
trunk/src/org/griphyn/vdl/mapping/file/CSVMapper.java
Log:
fixed csv mapper (concurrent calls to map() when the file was not read would cause the internal structures to be a mix of what all the threads read from the file)
Modified: trunk/src/org/griphyn/vdl/mapping/file/CSVMapper.java
===================================================================
--- trunk/src/org/griphyn/vdl/mapping/file/CSVMapper.java 2011-07-02 04:16:21 UTC (rev 4722)
+++ trunk/src/org/griphyn/vdl/mapping/file/CSVMapper.java 2011-07-02 05:55:59 UTC (rev 4723)
@@ -61,7 +61,7 @@
}
}
- private void readFile() {
+ private synchronized void readFile() {
if (read) {
return;
}
More information about the Swift-commit
mailing list