mirror of
https://github.com/zaaarf/geb-processor.git
synced 2024-11-23 02:14:50 +01:00
fix: fixed bad argument count
This commit is contained in:
parent
5b965f4229
commit
a0dbda4c5f
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ public class GEBProcessor extends AbstractProcessor {
|
||||||
String varName = String.format("listener%d", counter);
|
String varName = String.format("listener%d", counter);
|
||||||
callListenersBuilder
|
callListenersBuilder
|
||||||
.addStatement("$T $L = $N.get($T.class)", this.listenerInterface, varName, listenersParam, listener.parent)
|
.addStatement("$T $L = $N.get($T.class)", this.listenerInterface, varName, listenersParam, listener.parent)
|
||||||
.addStatement("if($L.isActive()) (($T) $L).$L($N)", varName, listener.parent,
|
.addStatement("if($L.isActive()) (($T) $L).$L($N)", varName, listener.parent, varName,
|
||||||
listener.method.getSimpleName().toString(), eventParam);
|
listener.method.getSimpleName().toString(), eventParam);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue