Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Vosburgh2013-03-26 11:52:43 -0400
committerBrian Vosburgh2013-03-26 11:52:43 -0400
commitfb21b6d3beaced63c5f96c12b221055236c648af (patch)
tree8d3c8e07d461bd2208343c8719210f1e5b532959 /common/plugins/org.eclipse.jpt.common.core/src
parent270a998efebc4ea46ca8d8f81c63b5c0055f46ef (diff)
downloadwebtools.dali-fb21b6d3beaced63c5f96c12b221055236c648af.tar.gz
webtools.dali-fb21b6d3beaced63c5f96c12b221055236c648af.tar.xz
webtools.dali-fb21b6d3beaced63c5f96c12b221055236c648af.zip
implement SimplePair
Diffstat (limited to 'common/plugins/org.eclipse.jpt.common.core/src')
-rw-r--r--common/plugins/org.eclipse.jpt.common.core/src/org/eclipse/jpt/common/core/internal/utility/JptPlugin.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/plugins/org.eclipse.jpt.common.core/src/org/eclipse/jpt/common/core/internal/utility/JptPlugin.java b/common/plugins/org.eclipse.jpt.common.core/src/org/eclipse/jpt/common/core/internal/utility/JptPlugin.java
index 75e2a3e64a..050a41a02f 100644
--- a/common/plugins/org.eclipse.jpt.common.core/src/org/eclipse/jpt/common/core/internal/utility/JptPlugin.java
+++ b/common/plugins/org.eclipse.jpt.common.core/src/org/eclipse/jpt/common/core/internal/utility/JptPlugin.java
@@ -214,9 +214,10 @@ public abstract class JptPlugin
}
protected void removePersistentProperties_(IResource resource) throws CoreException {
+ String id = this.getPersistentPropertyPluginID();
Map<QualifiedName, String> props = resource.getPersistentProperties();
for (QualifiedName key : props.keySet()) {
- if (ObjectTools.equals(key.getQualifier(), getPersistentPropertyPluginID())) {
+ if (ObjectTools.equals(key.getQualifier(), id)) {
resource.setPersistentProperty(key, null);
}
}

Back to the top