diff --git a/config/checkstyle.xml b/config/checkstyle.xml
index 051f1b5535..0f278b9c50 100644
--- a/config/checkstyle.xml
+++ b/config/checkstyle.xml
@@ -67,6 +67,11 @@
+
+
+
+
+
diff --git a/src/main/java/org/betonquest/betonquest/api/bukkit/command/SilentCommandSender.java b/src/main/java/org/betonquest/betonquest/api/bukkit/command/SilentCommandSender.java
index 37f8f08c3c..80cb07efaf 100644
--- a/src/main/java/org/betonquest/betonquest/api/bukkit/command/SilentCommandSender.java
+++ b/src/main/java/org/betonquest/betonquest/api/bukkit/command/SilentCommandSender.java
@@ -46,7 +46,7 @@ public void sendMessage(@NotNull final String message) {
}
@Override
- public void sendMessage(final @NotNull String... messages) {
+ public void sendMessage(@NotNull final String... messages) {
log.debug("Silently sending messages to console: " + String.join(", ", messages));
}
@@ -56,7 +56,7 @@ public void sendMessage(@Nullable final UUID sender, @NotNull final String messa
}
@Override
- public void sendMessage(@Nullable final UUID sender, final @NotNull String... messages) {
+ public void sendMessage(@Nullable final UUID sender, @NotNull final String... messages) {
log.debug("Silently sending messages to console: " + String.join(", ", messages));
}
diff --git a/src/main/java/org/betonquest/betonquest/api/bukkit/config/custom/fallback/FallbackConfigurationSection.java b/src/main/java/org/betonquest/betonquest/api/bukkit/config/custom/fallback/FallbackConfigurationSection.java
index 13c5f83609..0cb56e8819 100644
--- a/src/main/java/org/betonquest/betonquest/api/bukkit/config/custom/fallback/FallbackConfigurationSection.java
+++ b/src/main/java/org/betonquest/betonquest/api/bukkit/config/custom/fallback/FallbackConfigurationSection.java
@@ -687,7 +687,7 @@ public ConfigManager(@Nullable final String sectionName, @Nullable final Configu
}
@SuppressWarnings("PMD.AvoidUncheckedExceptionsInSignatures")
- private void checkValidState(final @Nullable ConfigurationSection original, final @Nullable ConfigurationSection fallback) throws IllegalStateException {
+ private void checkValidState(@Nullable final ConfigurationSection original, @Nullable final ConfigurationSection fallback) throws IllegalStateException {
if (original == null && fallback == null) {
throw new IllegalStateException("Cannot construct a FallbackConfigurationSection when original and fallback are null");
}
diff --git a/src/main/java/org/betonquest/betonquest/api/bukkit/config/custom/multi/MultiSectionConfiguration.java b/src/main/java/org/betonquest/betonquest/api/bukkit/config/custom/multi/MultiSectionConfiguration.java
index caaf90dd0c..0899652ec7 100644
--- a/src/main/java/org/betonquest/betonquest/api/bukkit/config/custom/multi/MultiSectionConfiguration.java
+++ b/src/main/java/org/betonquest/betonquest/api/bukkit/config/custom/multi/MultiSectionConfiguration.java
@@ -284,7 +284,7 @@ public void associateWith(final String path, final ConfigurationSection targetCo
unsavedConfigs.add(targetConfig);
}
- private void checkConflictAndSet(final @NotNull String path, final @Nullable Object value) {
+ private void checkConflictAndSet(@NotNull final String path, @Nullable final Object value) {
if (value == null || value instanceof ConfigurationSection) {
deletePath(path);
if (value == null) {
diff --git a/src/main/java/org/betonquest/betonquest/compatibility/placeholderapi/BetonQuestPlaceholder.java b/src/main/java/org/betonquest/betonquest/compatibility/placeholderapi/BetonQuestPlaceholder.java
index 968eeb695d..de7502058a 100644
--- a/src/main/java/org/betonquest/betonquest/compatibility/placeholderapi/BetonQuestPlaceholder.java
+++ b/src/main/java/org/betonquest/betonquest/compatibility/placeholderapi/BetonQuestPlaceholder.java
@@ -81,7 +81,7 @@ public String getVersion() {
* @return possibly-null String of the requested identifier.
*/
@Override
- public @NotNull String onPlaceholderRequest(final @Nullable Player player, final @NotNull String identifier) {
+ public @NotNull String onPlaceholderRequest(@Nullable final Player player, @NotNull final String identifier) {
final String pack;
final String placeholderIdentifier;
final int index = identifier.indexOf(':');
diff --git a/src/test/java/org/betonquest/betonquest/util/scheduler/BukkitSchedulerMock.java b/src/test/java/org/betonquest/betonquest/util/scheduler/BukkitSchedulerMock.java
index b902eaeb24..ddafa9c75b 100644
--- a/src/test/java/org/betonquest/betonquest/util/scheduler/BukkitSchedulerMock.java
+++ b/src/test/java/org/betonquest/betonquest/util/scheduler/BukkitSchedulerMock.java
@@ -454,7 +454,7 @@ private TaskList() {
*
* @param task the task to remove.
*/
- private void addTask(final @NotNull ScheduledTask task) {
+ private void addTask(@NotNull final ScheduledTask task) {
tasks.put(task.getTaskId(), task);
}