Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into develop/10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
AliveDevil committed Jul 18, 2024
2 parents 353c268 + 29b52c3 commit 8675595
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
6 changes: 5 additions & 1 deletion core/src/main/java/ch/cyberduck/core/worker/ListWorker.java
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ protected boolean isCached() {

@Override
public void cleanup(final AttributedList<Path> list) {
// Do not cache results from a canceled list worker as it may be incomplete
if(this.isCanceled()) {
return;
}
// Update the working directory if listing is successful
if(!(AttributedList.<Path>emptyList() == list)) {
// Cache directory listing
Expand All @@ -106,7 +110,7 @@ public void cleanup(final AttributedList<Path> list) {
@Override
public String getActivity() {
return MessageFormat.format(LocaleFactory.localizedString("Listing directory {0}", "Status"),
directory.getName());
directory.getName());
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import ch.cyberduck.core.exception.AccessDeniedException;
import ch.cyberduck.core.exception.BackgroundException;
import ch.cyberduck.core.exception.UnsupportedException;
import ch.cyberduck.core.features.Delete;
import ch.cyberduck.core.features.Trash;
import ch.cyberduck.core.preferences.HostPreferences;
import ch.cyberduck.core.transfer.TransferStatus;

Expand All @@ -37,7 +37,7 @@

import com.google.api.services.drive.model.File;

public class DriveTrashFeature implements Delete {
public class DriveTrashFeature implements Trash {
private static final Logger log = LogManager.getLogger(DriveTrashFeature.class);

private final DriveSession session;
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.17.0</version>
<version>1.17.1</version>
</dependency>
<dependency>
<groupId>commons-net</groupId>
Expand Down

0 comments on commit 8675595

Please sign in to comment.