Example: jx_path_10
Link to fix commit:
https://github.com/apache/commons-jxpath/compare/1860d750670f46e64c276bae92d93f545dfb5bd5..3b3e58d3d35aaa7e8e35c0856611f4bfc3f291c7
Language:
java
Hunk:
diff --git a/src/java/org/apache/commons/jxpath/ri/compiler/CoreOperationRelationalExpression.java b/src/java/org/apache/commons/jxpath/ri/compiler/CoreOperationRelationalExpression.java
index 3711fb97d..a09afa8a1 100644
--- a/src/java/org/apache/commons/jxpath/ri/compiler/CoreOperationRelationalExpression.java
+++ b/src/java/org/apache/commons/jxpath/ri/compiler/CoreOperationRelationalExpression.java
@@ -39,8 +39,8 @@ protected CoreOperationRelationalExpression(Expression[] args) {
}
public final Object computeValue(EvalContext context) {
- return compute(args[0].computeValue(context), args[1]
- .computeValue(context)) ? Boolean.TRUE : Boolean.FALSE;
+ return compute(args[0].compute(context), args[1].compute(context))
+ ? Boolean.TRUE : Boolean.FALSE;
}
protected final int getPrecedence() {