Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Wright2005-09-13 20:57:39 +0000
committerDarin Wright2005-09-13 20:57:39 +0000
commit8a980f87cbf652c1ad2f6579fab8e4102d440f38 (patch)
tree74e3b18db9261b1ac72b9db06b5a953222195688 /org.eclipse.debug.ui
parent0ebc6406ac5928d24286b641ef2c251a03af2660 (diff)
downloadeclipse.platform.debug-8a980f87cbf652c1ad2f6579fab8e4102d440f38.tar.gz
eclipse.platform.debug-8a980f87cbf652c1ad2f6579fab8e4102d440f38.tar.xz
eclipse.platform.debug-8a980f87cbf652c1ad2f6579fab8e4102d440f38.zip
copy the paths to avoid unintended update side effects
Diffstat (limited to 'org.eclipse.debug.ui')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/treeviewer/TreeSelection.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/treeviewer/TreeSelection.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/treeviewer/TreeSelection.java
index 0d0016275..c8ffaf38f 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/treeviewer/TreeSelection.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/treeviewer/TreeSelection.java
@@ -139,6 +139,6 @@ public class TreeSelection implements IStructuredSelection {
* @return the paths in this selection
*/
public TreePath[] getPaths() {
- return fPaths;
+ return (TreePath[]) fPaths.clone();
}
}

Back to the top