Skip to content

Commit d53b88c

Browse files
committed
Add default with no listener.
1 parent 12f8290 commit d53b88c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

core/src/main/java/ch/cyberduck/core/ListService.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@
2525

2626
@Required
2727
public interface ListService {
28+
default AttributedList<Path> list(Path directory) throws BackgroundException {
29+
return this.list(directory, new DisabledListProgressListener());
30+
}
31+
2832
AttributedList<Path> list(Path directory, ListProgressListener listener) throws BackgroundException;
2933

3034
default void preflight(final Path directory) throws BackgroundException {

0 commit comments

Comments
 (0)