[Swift-commit] r2529 - trunk/src/org/griphyn/vdl/karajan/lib
noreply at svn.ci.uchicago.edu
noreply at svn.ci.uchicago.edu
Thu Feb 12 07:23:16 CST 2009
Author: benc
Date: 2009-02-12 07:23:15 -0600 (Thu, 12 Feb 2009)
New Revision: 2529
Modified:
trunk/src/org/griphyn/vdl/karajan/lib/TCProfile.java
Log:
fix r2525: maps returned by Collections.singletonMap are immutable; but
parts of TCProfile need mutable maps.
Modified: trunk/src/org/griphyn/vdl/karajan/lib/TCProfile.java
===================================================================
--- trunk/src/org/griphyn/vdl/karajan/lib/TCProfile.java 2009-02-12 10:01:55 UTC (rev 2528)
+++ trunk/src/org/griphyn/vdl/karajan/lib/TCProfile.java 2009-02-12 13:23:15 UTC (rev 2529)
@@ -98,7 +98,8 @@
walltime = "10";
}
if (attrs == null) {
- attrs = Collections.singletonMap("maxwalltime", walltime);
+ attrs = new HashMap();
+ attrs.put("maxwalltime", walltime);
}
else {
attrs.put("maxwalltime", walltime);
More information about the Swift-commit
mailing list