From 8d0871af7848bf4b889f840831c94ea95323aee0 Mon Sep 17 00:00:00 2001 From: William Date: Tue, 13 Feb 2024 17:47:21 +0000 Subject: [PATCH] fix: Fix checkstyle --- .../java/net/william278/huskhomes/teleport/Completable.java | 4 ++-- .../main/java/net/william278/huskhomes/teleport/Teleport.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/common/src/main/java/net/william278/huskhomes/teleport/Completable.java b/common/src/main/java/net/william278/huskhomes/teleport/Completable.java index 5cb9b556..8d145ca6 100644 --- a/common/src/main/java/net/william278/huskhomes/teleport/Completable.java +++ b/common/src/main/java/net/william278/huskhomes/teleport/Completable.java @@ -23,7 +23,7 @@ import org.jetbrains.annotations.NotNull; /** - * Represents a Teleport that is completable + * Represents a Teleport that is completable. */ public interface Completable { @@ -33,7 +33,7 @@ public interface Completable { OnlineUser getExecutor(); /** - * Complete the teleport and handle exceptions + * Complete the teleport and handle exceptions. * * @param args Optional args to pass to the teleport exception handler */ diff --git a/common/src/main/java/net/william278/huskhomes/teleport/Teleport.java b/common/src/main/java/net/william278/huskhomes/teleport/Teleport.java index 21c35bfe..18fbfab2 100644 --- a/common/src/main/java/net/william278/huskhomes/teleport/Teleport.java +++ b/common/src/main/java/net/william278/huskhomes/teleport/Teleport.java @@ -76,9 +76,9 @@ public static TeleportBuilder builder(@NotNull HuskHomes plugin) { } /** - * Execute a teleport, throwing a {@link TeleportationException on an exception} + * Execute a teleport, throwing a {@link TeleportationException} if it fails. * - * @throws TeleportationException if + * @throws TeleportationException if the teleport fails for some reason. */ public void execute() throws TeleportationException { validateTransactions();