[Swift-commit] r3188 - trunk/src/org/griphyn/vdl/mapping/file
noreply at svn.ci.uchicago.edu
noreply at svn.ci.uchicago.edu
Fri Nov 6 10:36:25 CST 2009
Author: hategan
Date: 2009-11-06 10:36:25 -0600 (Fri, 06 Nov 2009)
New Revision: 3188
Modified:
trunk/src/org/griphyn/vdl/mapping/file/ConcurrentMapper.java
Log:
fixed class cast exception when specifying parameters to the concurrent mapper
Modified: trunk/src/org/griphyn/vdl/mapping/file/ConcurrentMapper.java
===================================================================
--- trunk/src/org/griphyn/vdl/mapping/file/ConcurrentMapper.java 2009-11-04 01:41:03 UTC (rev 3187)
+++ trunk/src/org/griphyn/vdl/mapping/file/ConcurrentMapper.java 2009-11-06 16:36:25 UTC (rev 3188)
@@ -23,8 +23,8 @@
}
public void setParams(Map params) {
- String prefix = (String) PARAM_PREFIX.getValue(params);
- prefix = "_concurrent/" + prefix + "-" + PARAM_THREAD_PREFIX.getValue(params);
+ String prefix = PARAM_PREFIX.getStringValue(this);
+ prefix = "_concurrent/" + prefix + "-" + PARAM_THREAD_PREFIX.getStringValue(this);
PARAM_PREFIX.setValue(params, prefix);
super.setParams(params);
}
More information about the Swift-commit
mailing list