mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-14 03:39:05 +01:00
Miscellaneous code cleanups.
This commit is contained in:
@@ -7,7 +7,7 @@ public enum MessageType {
|
||||
WRAPPED_POST(2),
|
||||
WRAPPED_COMMENT(3);
|
||||
|
||||
int value;
|
||||
final int value;
|
||||
|
||||
MessageType(int value) {
|
||||
this.value = value;
|
||||
|
||||
@@ -40,6 +40,7 @@ public class GroupMessageAddedEvent extends Event {
|
||||
return text;
|
||||
}
|
||||
|
||||
@SuppressWarnings("BooleanMethodIsAlwaysInverted")
|
||||
public boolean isLocal() {
|
||||
return local;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user