diff --git a/java/client/src/main/java/glide/api/commands/GenericBaseCommands.java b/java/client/src/main/java/glide/api/commands/GenericBaseCommands.java
index 19a6758561..6fa0ec3c3b 100644
--- a/java/client/src/main/java/glide/api/commands/GenericBaseCommands.java
+++ b/java/client/src/main/java/glide/api/commands/GenericBaseCommands.java
@@ -65,7 +65,7 @@ public interface GenericBaseCommands {
* @param key The key to set timeout on it.
* @param seconds The timeout in seconds.
* @return true
if the timeout was set. false
if the timeout was not
- * set. e.g. key doesn't exist, or operation skipped due to the provided arguments.
+ * set. e.g. key
doesn't exist, or operation skipped due to the provided arguments.
*/
CompletableFuture expire(String key, long seconds);