13
0
geforkt von Mirrors/Velocity

Obey Checkstyle rules

Dieser Commit ist enthalten in:
lexikiq 2021-06-11 19:53:30 -04:00
Ursprung 3a1517f3a4
Commit ba4ba2022e
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: AE6C11E94FDBB116

Datei anzeigen

@ -50,10 +50,12 @@ public interface CommandSource extends Audience, PermissionSubject, PermissionCh
@Override
default @NotNull TriState value(String permission) {
Tristate state = getPermissionValue(permission);
if (state == Tristate.TRUE)
if (state == Tristate.TRUE) {
return TriState.TRUE;
if (state == Tristate.UNDEFINED)
}
if (state == Tristate.UNDEFINED) {
return TriState.NOT_SET;
}
return TriState.FALSE;
}
}