| author | Steffen Pingel | 2012-03-08 16:20:06 (EST) |
|---|---|---|
| committer | Steffen Pingel | 2012-03-08 16:20:06 (EST) |
| commit | 7ede1692cf3f548b268f16b86ee6c17eb16d76ac (patch) (side-by-side diff) | |
| tree | c836a26f2c1812ee2ebba82be18ec3e747ac57ba | |
| parent | 83f9f56294f1d4949cdb293cc89bec21e64fecaa (diff) | |
| download | org.eclipse.mylyn.tasks-7ede1692cf3f548b268f16b86ee6c17eb16d76ac.zip org.eclipse.mylyn.tasks-7ede1692cf3f548b268f16b86ee6c17eb16d76ac.tar.gz org.eclipse.mylyn.tasks-7ede1692cf3f548b268f16b86ee6c17eb16d76ac.tar.bz2 | |
NEW - bug 373703: reduce memory footprint of Mylyn 3.7
https://bugs.eclipse.org/bugs/show_bug.cgi?id=373703
Change-Id: Ib441eea3fabfff49afd8d62488e3f56cfa0d7d5a
| -rw-r--r-- | org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/data/TaskAttribute.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/data/TaskAttribute.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/data/TaskAttribute.java index 50f8382..5a01c9d 100644 --- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/data/TaskAttribute.java +++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/data/TaskAttribute.java @@ -528,7 +528,7 @@ public final class TaskAttribute { if (metaData == null) { metaData = new LinkedHashMap<String, String>(); } - metaData.put(key, value); + metaData.put(key.intern(), value); } /** @@ -545,7 +545,7 @@ public final class TaskAttribute { if (optionByKey == null) { optionByKey = new LinkedHashMap<String, String>(); } - optionByKey.put(key, value); + optionByKey.put(key.intern(), value); } public void removeAttribute(String attributeId) { |

