Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix ELRunKeywordIf

  • Loading branch information...
commit c7bb0e75e00a379b621a43c3f66c0e9aae1f559f 1 parent 4897896
@badong2210 badong2210 authored
View
2  jspringbot-expression/src/main/java/org/jspringbot/keyword/expression/ELRunKeywordIf.java
@@ -36,7 +36,7 @@
@Override
public Object execute(final Object[] params) throws Exception {
- if(Boolean.class.isInstance(params[0])) {
+ if(!Boolean.class.isInstance(params[0])) {
throw new IllegalArgumentException("Expecting condition with boolean result on first argument.");
}
Please sign in to comment.
Something went wrong with that request. Please try again.