Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Pingel2012-03-08 21:20:06 +0000
committerSteffen Pingel2012-03-08 21:20:06 +0000
commit7ede1692cf3f548b268f16b86ee6c17eb16d76ac (patch)
treec836a26f2c1812ee2ebba82be18ec3e747ac57ba
parent83f9f56294f1d4949cdb293cc89bec21e64fecaa (diff)
downloadorg.eclipse.mylyn.tasks-7ede1692cf3f548b268f16b86ee6c17eb16d76ac.tar.gz
org.eclipse.mylyn.tasks-7ede1692cf3f548b268f16b86ee6c17eb16d76ac.tar.xz
org.eclipse.mylyn.tasks-7ede1692cf3f548b268f16b86ee6c17eb16d76ac.zip
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.java4
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 50f8382c2..5a01c9d38 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) {

Back to the top