Cyberduck Mountain Duck CLI

Changeset 47802


Ignore:
Timestamp:
Sep 20, 2019 10:50:55 AM (5 months ago)
Author:
dkocher
Message:

Fix sort order.

Location:
shelves/09.2019
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • shelves/09.2019

    • Property subgit:lock:2ef2f62a3146ce0b94f8dcad5eebee7ee75b4705 deleted
    • Property subgit:lock:31dd626332968b22afb957ad7bf27e62e17feb9d set to 2019-09-20T11:35:23.915
  • shelves/09.2019/core/src/main/java/ch/cyberduck/core/worker/DeleteWorker.java

    r47797 r47802  
    4141import java.util.ArrayList;
    4242import java.util.Collections;
    43 import java.util.HashMap;
     43import java.util.LinkedHashMap;
    4444import java.util.List;
    4545import java.util.Map;
     
    7575        final Delete delete = session.getFeature(Delete.class);
    7676        final ListService list = session.getFeature(ListService.class);
    77         final Map<Path, TransferStatus> recursive = new HashMap<>();
     77        final Map<Path, TransferStatus> recursive = new LinkedHashMap<>();
    7878        for(Path file : files) {
    7979            if(this.isCanceled()) {
     
    9494    protected Map<Path, TransferStatus> compile(final Host host, final Delete delete, final ListService list, final ListProgressListener listener, final Path file) throws BackgroundException {
    9595        // Compile recursive list
    96         final Map<Path, TransferStatus> recursive = new HashMap<>();
     96        final Map<Path, TransferStatus> recursive = new LinkedHashMap<>();
    9797        if(file.isFile() || file.isSymbolicLink()) {
    9898            final Path copy = new Path(file);
Note: See TracChangeset for help on using the changeset viewer.
swiss made software