Fix getSelectedResources not using all ResourceTraversals
commit1a729908a4f452689ca580f9d21fabdd0e4b0d92
authorRobin Stocker <robin@nibor.org>
Sun, 3 Aug 2014 10:01:08 +0000 (3 20:01 +1000)
committerMatthias Sohn <matthias.sohn@sap.com>
Sat, 9 Aug 2014 22:55:38 +0000 (10 00:55 +0200)
treec3a941c5a7eec05ed7d6c8f6eec71aac83b4ae09
parentd6b2680e5587be5479b1e381c7c7f7764c3bebc4
Fix getSelectedResources not using all ResourceTraversals

It only used the resources of the first traversal before. E.g. a working
set has multiple traversals. I don't know if this bug was affecting
anything else.

Change-Id: I19df313931d1d94fe291cbc0bc9dee73f50381db
Signed-off-by: Robin Stocker <robin@nibor.org>
org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/internal/selection/SelectionUtilsTest.java [new file with mode: 0644]
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/selection/SelectionUtils.java