mirror of https://github.com/apache/openjpa.git
fix checkstyle failure introduced in Rev781621
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@781754 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
be8b9808f6
commit
5f2c7c3fae
|
@ -84,7 +84,7 @@ implements Predicate {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
org.apache.openjpa.kernel.exps.Expression toKernelExpression(
|
org.apache.openjpa.kernel.exps.Expression toKernelExpression(
|
||||||
ExpressionFactory factory, MetamodelImpl model, CriteriaQueryImpl q) {
|
ExpressionFactory factory, MetamodelImpl model, CriteriaQueryImpl q) {
|
||||||
if (_exps == null || _exps.isEmpty())
|
if (_exps == null || _exps.isEmpty())
|
||||||
return factory.emptyExpression();
|
return factory.emptyExpression();
|
||||||
if (_exps.size() == 1)
|
if (_exps.size() == 1)
|
||||||
|
@ -104,7 +104,7 @@ implements Predicate {
|
||||||
ExpressionImpl<?> e = (ExpressionImpl<?>)_exps.get(i);
|
ExpressionImpl<?> e = (ExpressionImpl<?>)_exps.get(i);
|
||||||
result = _op == BooleanOperator.AND
|
result = _op == BooleanOperator.AND
|
||||||
? factory.and(result, e.toKernelExpression(factory, model, q))
|
? factory.and(result, e.toKernelExpression(factory, model, q))
|
||||||
: factory.or(result, e.toKernelExpression(factory,model,q));
|
: factory.or(result, e.toKernelExpression(factory,model,q));
|
||||||
}
|
}
|
||||||
return _negated ? factory.not(result) : result;
|
return _negated ? factory.not(result) : result;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue