fix error in index caught by thadguidry
This commit is contained in:
parent
02e8b28d26
commit
b09bb4463e
@ -41,7 +41,7 @@ public class Xor implements Function {
|
||||
public Object call(Properties bindings, Object[] args) {
|
||||
if (args.length == 2 &&
|
||||
args[0] != null && args[0] instanceof Boolean &&
|
||||
args[1] != null && args[0] instanceof Boolean) {
|
||||
args[1] != null && args[1] instanceof Boolean) {
|
||||
boolean o1 = ((Boolean) args[0]).booleanValue();
|
||||
boolean o2 = ((Boolean) args[1]).booleanValue();
|
||||
return o1 != o2;
|
||||
|
Loading…
Reference in New Issue
Block a user