Miscellaneous code cleanups.

This commit is contained in:
akwizgran
2018-11-23 12:28:11 +00:00
parent c59ef29cdb
commit 8c25732d13
150 changed files with 551 additions and 463 deletions

View File

@@ -7,7 +7,7 @@ public enum MessageType {
WRAPPED_POST(2),
WRAPPED_COMMENT(3);
int value;
final int value;
MessageType(int value) {
this.value = value;

View File

@@ -40,6 +40,7 @@ public class GroupMessageAddedEvent extends Event {
return text;
}
@SuppressWarnings("BooleanMethodIsAlwaysInverted")
public boolean isLocal() {
return local;
}