added deprecations

This commit is contained in:
Timo Westkämper 2009-08-17 14:10:27 +00:00
parent 1e8752bf37
commit eba20af923
2 changed files with 10 additions and 0 deletions

View File

@ -14,6 +14,7 @@ import com.mysema.query.types.expr.Expr;
* @author tiwe
* @version $Id$
*/
@Deprecated
public final class AggregationFunctions {
private AggregationFunctions(){}

View File

@ -63,16 +63,25 @@ public final class MathFunctions {
return ENumber.min(left, right);
}
/**
* use left.ceil() instead
*/
@Deprecated
public static ENumber<Double> ceil(EDecimal<Double> left) {
return left.ceil();
}
/**
* use left.round() instead
*/
@Deprecated
public static ENumber<Double> round(EDecimal<Double> left) {
return left.round();
}
/**
* use left.floor() instead
*/
@Deprecated
public static ENumber<Double> floor(EDecimal<Double> left) {
return left.floor();