diff --git a/mailbox-core/src/main/java/org/briarproject/mailbox/core/system/TaskScheduler.java b/mailbox-core/src/main/java/org/briarproject/mailbox/core/system/TaskScheduler.java
index 91729ed053df43f1c5fc6d1e4d70d0955a56e903..be1f59c73e31521c449b4cb6dc4976faed125733 100644
--- a/mailbox-core/src/main/java/org/briarproject/mailbox/core/system/TaskScheduler.java
+++ b/mailbox-core/src/main/java/org/briarproject/mailbox/core/system/TaskScheduler.java
@@ -32,7 +32,8 @@ public interface TaskScheduler {
 
 		/**
 		 * Cancels the task if it has not already started running. If the task
-		 * is {@link #scheduleWithFixedDelay(Runnable, Executor, long, long, TimeUnit) periodic},
+		 * is {@link #scheduleWithFixedDelay(Runnable, Executor, long, long,
+		 * TimeUnit) periodic},
 		 * all future executions of the task are cancelled.
 		 */
 		void cancel();