From f556bc72499fc4942bf03611dd8478377e52c4c3 Mon Sep 17 00:00:00 2001 From: akwizgran Date: Tue, 13 Jul 2021 11:50:17 +0100 Subject: [PATCH] Update javadoc for RemovableDriveTask. --- .../bramble/api/plugin/file/RemovableDriveTask.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bramble-api/src/main/java/org/briarproject/bramble/api/plugin/file/RemovableDriveTask.java b/bramble-api/src/main/java/org/briarproject/bramble/api/plugin/file/RemovableDriveTask.java index ad153d52d..606727160 100644 --- a/bramble-api/src/main/java/org/briarproject/bramble/api/plugin/file/RemovableDriveTask.java +++ b/bramble-api/src/main/java/org/briarproject/bramble/api/plugin/file/RemovableDriveTask.java @@ -14,9 +14,9 @@ public interface RemovableDriveTask extends Runnable { TransportProperties getTransportProperties(); /** - * Adds an observer to the task. The observer will be notified of state - * changes on the event thread. If the task has already finished, the - * observer will be notified of its final state. + * Adds an observer to the task. The observer will be notified on the + * event thread of the current state of the task and any subsequent state + * changes. */ void addObserver(Consumer observer);