Boolean constants

Bug #766896 reported by Samppa Saarela on 2011-04-20
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released

Bug Description

NumberTemplate has constants for zero, one, two and three, but BooleanTemplate doesn't have true and false.

Added the following to BooleanTemplate :

    public static final BooleanExpression TRUE = create("true");

    public static final BooleanExpression FALSE = create("false");

Changed in querydsl:
status: New → Fix Committed

Released in 2.2.0-beta4

Changed in querydsl:
status: Fix Committed → Fix Released
Mark Lassau (mlassau) wrote :

In querydsl 4 I think people will want Expressions.TRUE or Expressions.ONE etc

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers