Continuation of commit 71aabb6
This commit is contained in:
parent
71aabb6205
commit
1a5bf935df
6 changed files with 95 additions and 21 deletions
|
@ -71,7 +71,7 @@ public class TreeTransferHandler extends TransferHandler {
|
|||
// For each length (shortest-first), iterate its paths.
|
||||
// For each of those paths, search longer lengths' lists,
|
||||
// removing any paths that are descendants of those short ancestor nodes.
|
||||
List<Integer> lengthsList = new ArrayList( pathsByLengthMap.keySet() );
|
||||
List<Integer> lengthsList = new ArrayList<Integer>( pathsByLengthMap.keySet() );
|
||||
for ( int i=0; i < lengthsList.size(); i++ ) {
|
||||
for ( TreePath ancestorPath : pathsByLengthMap.get( lengthsList.get( i ) ) ) {
|
||||
for ( int j=i+1; j < lengthsList.size(); j++ ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue