diff options
author | Pawel Piech | 2012-11-07 14:36:40 +0000 |
---|---|---|
committer | Gerrit Code Review @ Eclipse.org | 2012-11-07 14:36:40 +0000 |
commit | 79506b78e36d7223653d4bae92bdca43e66c6db3 (patch) | |
tree | 83c9429f2a1ee1156f59957feade009da8a5536c /plugins/org.eclipse.tcf.debug | |
parent | 6d990a7578522df6364d5a1e32b00e43e4cf3f76 (diff) | |
parent | bc3ab209fecc7e718d487fb0804156dd42c070c1 (diff) | |
download | org.eclipse.tcf-79506b78e36d7223653d4bae92bdca43e66c6db3.tar.gz org.eclipse.tcf-79506b78e36d7223653d4bae92bdca43e66c6db3.tar.xz org.eclipse.tcf-79506b78e36d7223653d4bae92bdca43e66c6db3.zip |
Merge "Bug 393615 - [breakpoints] It should not be possible to remove or modify foreign breakpoints."
Diffstat (limited to 'plugins/org.eclipse.tcf.debug')
-rw-r--r-- | plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/model/TCFBreakpointsModel.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/model/TCFBreakpointsModel.java b/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/model/TCFBreakpointsModel.java index 6f4c38571..4d9c7a331 100644 --- a/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/model/TCFBreakpointsModel.java +++ b/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/model/TCFBreakpointsModel.java @@ -349,7 +349,7 @@ public class TCFBreakpointsModel { * Return false if the properties represent a breakpoint created by some other TCF client. */ @SuppressWarnings("unchecked") - public boolean isLocal(Map<String,Object> properties) { + public static boolean isLocal(Map<String,Object> properties) { if (properties == null) return false; Map<String,Object> client_data = (Map<String,Object>)properties.get(IBreakpoints.PROP_CLIENT_DATA); if (client_data == null) return false; @@ -363,7 +363,7 @@ public class TCFBreakpointsModel { * @return true if the marker is owned by local instance of Eclipse. * Return false if the marker represents a breakpoint created by some other TCF client. */ - public boolean isLocal(IMarker marker) { + public static boolean isLocal(IMarker marker) { try { Map<String,Object> marker_attrs = marker.getAttributes(); if (marker_attrs == null) return false; |