Update the block to run only a public method.

This commit is contained in:
2023-10-17 22:25:38 +03:00
parent c00320e295
commit 238957419e
@@ -24,7 +24,6 @@ public class BlockDecorator<T extends Test> extends AbstractDecorator<T> {
public boolean runMethod() {
try {
method.setAccessible(true);
method.invoke(getCommand().getObject());
return true;
} catch (InvocationTargetException e) {