This commit is contained in:
Timo Westkämper 2008-02-20 20:27:27 +00:00
parent 2c5250541c
commit 876922e351
2 changed files with 3 additions and 1 deletions

View File

@ -8,7 +8,7 @@ package com.mysema.query;
import com.mysema.query.grammar.Types.*;
/**
* ExtQuery provides
* ExtQuery externds the Query interface to provide innerJoin, leftJoin and with methods
*
* @author tiwe
* @version $Id$

View File

@ -32,7 +32,9 @@ public class Grammar {
return op;
}
@SuppressWarnings("unchecked")
static <A> Expr<A> _const(A obj){
if (obj instanceof Expr) return (Expr<A>)obj;
ConstantExpr<A> e = new ConstantExpr<A>();
e.constant = obj;
return e;