Permalink
Browse files

Fix ELRunKeywordIf

  • Loading branch information...
badong2210 committed Mar 25, 2013
1 parent 4897896 commit c7bb0e75e00a379b621a43c3f66c0e9aae1f559f
@@ -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.");
}

0 comments on commit c7bb0e7

Please sign in to comment.