mirror of
https://github.com/zaaarf/geb-processor.git
synced 2024-11-22 19:14:50 +01:00
fix: events by default are not canceled
This commit is contained in:
parent
8027656386
commit
3238cf5fe8
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ public class GEBProcessor extends AbstractProcessor {
|
|||
.addStatement("if((($T) $N).isCanceled()) return false", this.cancelableEventInterface, eventParam);
|
||||
}
|
||||
|
||||
callListenersBuilder.addStatement("return false");
|
||||
callListenersBuilder.addStatement("return true");
|
||||
|
||||
MethodSpec eventType = MethodSpec.methodBuilder("eventType")
|
||||
.addModifiers(Modifier.PUBLIC)
|
||||
|
|
Loading…
Reference in a new issue