Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2013-09-09 06:23:46 +0000
committerUwe Stieber2013-09-09 07:26:49 +0000
commit16c957d1f5960de7040f8ce9482e4c86e29ab045 (patch)
tree8f4d27befdc44426fedd419624ca2413b975fcad /plugins
parentd9480f0083ddeb1fd8d67d510ae3d00ae9cbae3b (diff)
downloadorg.eclipse.tcf-16c957d1f5960de7040f8ce9482e4c86e29ab045.tar.gz
org.eclipse.tcf-16c957d1f5960de7040f8ce9482e4c86e29ab045.tar.xz
org.eclipse.tcf-16c957d1f5960de7040f8ce9482e4c86e29ab045.zip
Target Explorer: Complete path map service API by adding removePathMap
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.tcf.core/src/org/eclipse/tcf/util/TCFPathMapRule.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/plugins/org.eclipse.tcf.core/src/org/eclipse/tcf/util/TCFPathMapRule.java b/plugins/org.eclipse.tcf.core/src/org/eclipse/tcf/util/TCFPathMapRule.java
index 8969064a8..bf24de446 100644
--- a/plugins/org.eclipse.tcf.core/src/org/eclipse/tcf/util/TCFPathMapRule.java
+++ b/plugins/org.eclipse.tcf.core/src/org/eclipse/tcf/util/TCFPathMapRule.java
@@ -53,6 +53,17 @@ public class TCFPathMapRule implements IPathMap.PathMapRule {
return (String)props.get(IPathMap.PROP_CONTEXT_QUERY);
}
+ public int hashCode() {
+ return props.hashCode();
+ }
+
+ public boolean equals(Object obj) {
+ if (obj instanceof TCFPathMapRule) {
+ props.equals(((TCFPathMapRule)obj).props);
+ }
+ return super.equals(obj);
+ }
+
public String toString() {
return props.toString();
}

Back to the top