Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2012-05-25 08:44:24 -0400
committerUwe Stieber2012-05-25 08:44:24 -0400
commitf9559dd4007332dfd25b7585330a986441bb9852 (patch)
tree2e819993f7707e18be556daa1fe314026d1d34fa
parente8c9f88649111b24dcb65848aa08366cf1ce2061 (diff)
downloadorg.eclipse.tcf-f9559dd4007332dfd25b7585330a986441bb9852.tar.gz
org.eclipse.tcf-f9559dd4007332dfd25b7585330a986441bb9852.tar.xz
org.eclipse.tcf-f9559dd4007332dfd25b7585330a986441bb9852.zip
Target Explorer: fix findbugs warnings
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.launch.ui/src/org/eclipse/tcf/te/launch/ui/selection/LaunchSelectionManager.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.launch.ui/src/org/eclipse/tcf/te/launch/ui/selection/LaunchSelectionManager.java b/target_explorer/plugins/org.eclipse.tcf.te.launch.ui/src/org/eclipse/tcf/te/launch/ui/selection/LaunchSelectionManager.java
index 44b768534..3543a4216 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.launch.ui/src/org/eclipse/tcf/te/launch/ui/selection/LaunchSelectionManager.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.launch.ui/src/org/eclipse/tcf/te/launch/ui/selection/LaunchSelectionManager.java
@@ -136,8 +136,8 @@ public class LaunchSelectionManager {
// Get the selected project contexts
Map<IProject, Set<IPath>> projectSelections = getProjectSelections(getPartSelection(PART_ID_PROJECT_VIEW), true);
- for (IProject prj : projectSelections.keySet()) {
- contexts.add(new ProjectSelectionContext(prj, projectSelections.get(prj).toArray(), preferedPart));
+ for (Entry<IProject, Set<IPath>> prj : projectSelections.entrySet()) {
+ contexts.add(new ProjectSelectionContext(prj.getKey(), prj.getValue().toArray(), preferedPart));
}
}

Back to the top