aboutsummaryrefslogtreecommitdiff
path: root/spark-common/src/main/java/me/lucko/spark/common
diff options
context:
space:
mode:
Diffstat (limited to 'spark-common/src/main/java/me/lucko/spark/common')
-rw-r--r--spark-common/src/main/java/me/lucko/spark/common/command/Command.java4
-rw-r--r--spark-common/src/main/java/me/lucko/spark/common/command/modules/MonitoringModule.java2
2 files changed, 3 insertions, 3 deletions
diff --git a/spark-common/src/main/java/me/lucko/spark/common/command/Command.java b/spark-common/src/main/java/me/lucko/spark/common/command/Command.java
index a28320b..fb440b1 100644
--- a/spark-common/src/main/java/me/lucko/spark/common/command/Command.java
+++ b/spark-common/src/main/java/me/lucko/spark/common/command/Command.java
@@ -63,8 +63,8 @@ public class Command<S> {
}
public static final class Builder<S> {
- private ImmutableList.Builder<String> aliases = ImmutableList.builder();
- private ImmutableList.Builder<ArgumentInfo> arguments = ImmutableList.builder();
+ private final ImmutableList.Builder<String> aliases = ImmutableList.builder();
+ private final ImmutableList.Builder<ArgumentInfo> arguments = ImmutableList.builder();
private Executor<S> executor = null;
private TabCompleter<S> tabCompleter = null;
diff --git a/spark-common/src/main/java/me/lucko/spark/common/command/modules/MonitoringModule.java b/spark-common/src/main/java/me/lucko/spark/common/command/modules/MonitoringModule.java
index cf43c18..608d6b4 100644
--- a/spark-common/src/main/java/me/lucko/spark/common/command/modules/MonitoringModule.java
+++ b/spark-common/src/main/java/me/lucko/spark/common/command/modules/MonitoringModule.java
@@ -86,7 +86,7 @@ public class MonitoringModule<S> implements CommandModule<S> {
@Override
protected void sendMessage(String message) {
- platform.sendPrefixedMessage(message);
+ this.platform.sendPrefixedMessage(message);
}
}
}