This commit is contained in:
Timo Westkämper 2010-09-18 15:37:40 +00:00
parent 2213d213c0
commit 5b64de8215

View File

@ -7,6 +7,7 @@ package com.mysema.query.scala;
import com.mysema.query.scala.Constants._
import com.mysema.query.scala.Operations._
import com.mysema.query.scala.Conversions.aliasFactory
import com.mysema.query.types._
import com.mysema.query.types.PathMetadataFactory._
@ -25,15 +26,6 @@ object Constants {
}
object Resolver {
def resolve(value: java.lang.Integer) = ConstantImpl.create(value.intValue);
def resolve(value: String) = ConstantImpl.create(value);
def resolve[T](value: T) = new ConstantImpl(value);
}
trait SimpleExpression[T] extends Expression[T] {
def $eq(right: T): BooleanExpression = $eq(constant(right)); // XXX "is"