HHH-4775 - CriteriaBuilder#notEqual being interpreted oppositely

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18484 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Steve Ebersole 2010-01-09 17:32:34 +00:00
parent 20b78f45a7
commit 6b6cee1b31
1 changed files with 1 additions and 1 deletions

View File

@ -366,7 +366,7 @@ public class CriteriaBuilderImpl implements CriteriaBuilder, Serializable {
*/
public Predicate notEqual(Expression<?> x, Object y) {
//noinspection SuspiciousNameCombination
return new ComparisonPredicate( this, ComparisonOperator.NOT_EQUAL, x, y ).not();
return new ComparisonPredicate( this, ComparisonOperator.NOT_EQUAL, x, y );
}
/**