13
0
geforkt von Mirrors/Velocity

Merge pull request #53 from phase/fix/generic-result

Fix ResultedEvent.GenericResult.DENIED
Dieser Commit ist enthalten in:
Andrew Steinborn 2018-08-25 01:08:03 -04:00 committet von GitHub
Commit 6e49960aec
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -41,7 +41,7 @@ public interface ResultedEvent<R extends ResultedEvent.Result> {
*/ */
class GenericResult implements Result { class GenericResult implements Result {
private static final GenericResult ALLOWED = new GenericResult(true); private static final GenericResult ALLOWED = new GenericResult(true);
private static final GenericResult DENIED = new GenericResult(true); private static final GenericResult DENIED = new GenericResult(false);
private final boolean allowed; private final boolean allowed;