Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Antonio Alvarez <[email protected]>
  • Loading branch information
jaam committed Jun 22, 2023
1 parent 1b0684f commit 36cda65
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public void addRule(ElementSelector elementSelector, Supplier<Action> actionSupp

public void addRule(ElementSelector elementSelector, String actionClassName) {
try {
final Action action = (Action) OptionHelper.instantiateByClassName(actionClassName, Action.class, context);
Action action = (Action) OptionHelper.instantiateByClassName(actionClassName, Action.class, context);
addRule(elementSelector, () -> action);
} catch (Exception e) {
addError("Could not instantiate class [" + actionClassName + "]", e);
Expand Down

0 comments on commit 36cda65

Please sign in to comment.