From 33bdce7915f2931608b1331774902a34fe425144 Mon Sep 17 00:00:00 2001 From: filoghost Date: Tue, 25 May 2021 00:17:44 +0200 Subject: [PATCH] Fix Checkstyle warnings --- .../filoghost/holographicdisplays/api/VisibilitySettings.java | 2 +- .../bridge/protocollib/ProtocolLibHook.java | 3 ++- .../placeholder/parsing/StringWithPlaceholders.java | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/api/src/main/java/me/filoghost/holographicdisplays/api/VisibilitySettings.java b/api/src/main/java/me/filoghost/holographicdisplays/api/VisibilitySettings.java index 73b07fb9..c2bbda43 100644 --- a/api/src/main/java/me/filoghost/holographicdisplays/api/VisibilitySettings.java +++ b/api/src/main/java/me/filoghost/holographicdisplays/api/VisibilitySettings.java @@ -40,7 +40,7 @@ public interface VisibilitySettings { /** * Sets the visibility for a specific player, overriding the default value ({@link #getDefaultVisibility()}). * The individual visibility value can be reverted with {@link #resetIndividualVisibility(Player)}. - * + * * @since 1 */ void setIndividualVisibility(@NotNull Player player, @NotNull Visibility visibility); diff --git a/plugin/src/main/java/me/filoghost/holographicdisplays/bridge/protocollib/ProtocolLibHook.java b/plugin/src/main/java/me/filoghost/holographicdisplays/bridge/protocollib/ProtocolLibHook.java index 3517aae7..7d3e9484 100644 --- a/plugin/src/main/java/me/filoghost/holographicdisplays/bridge/protocollib/ProtocolLibHook.java +++ b/plugin/src/main/java/me/filoghost/holographicdisplays/bridge/protocollib/ProtocolLibHook.java @@ -42,7 +42,8 @@ public class ProtocolLibHook { String versionNumbers = versionNumbersMatcher.group(); if (!VersionUtils.isVersionGreaterEqual(versionNumbers, "4.4")) { - errorCollector.add("detected old unsupported version of ProtocolLib, support disabled. You must use ProtocolLib 4.4.0 or higher"); + errorCollector.add("detected old unsupported version of ProtocolLib, support disabled." + + " You must use ProtocolLib 4.4.0 or higher"); return; } diff --git a/plugin/src/main/java/me/filoghost/holographicdisplays/placeholder/parsing/StringWithPlaceholders.java b/plugin/src/main/java/me/filoghost/holographicdisplays/placeholder/parsing/StringWithPlaceholders.java index 514ec342..539c8907 100644 --- a/plugin/src/main/java/me/filoghost/holographicdisplays/placeholder/parsing/StringWithPlaceholders.java +++ b/plugin/src/main/java/me/filoghost/holographicdisplays/placeholder/parsing/StringWithPlaceholders.java @@ -107,7 +107,7 @@ public class StringWithPlaceholders { private final String literalString; - public LiteralStringPart(String literalString) { + LiteralStringPart(String literalString) { this.literalString = literalString; }