squash some compiler warnings
Signed-off-by: Gavin King <gavin@hibernate.org>
This commit is contained in:
parent
72261fd806
commit
d0ed4d01f2
|
@ -13,7 +13,6 @@ import org.hibernate.query.ReturnableType;
|
|||
import org.hibernate.query.spi.QueryEngine;
|
||||
import org.hibernate.query.sqm.TemporalUnit;
|
||||
import org.hibernate.query.sqm.function.FunctionRenderer;
|
||||
import org.hibernate.query.sqm.function.FunctionRenderingSupport;
|
||||
import org.hibernate.query.sqm.function.SelfRenderingSqmFunction;
|
||||
import org.hibernate.query.sqm.produce.function.ArgumentsValidator;
|
||||
import org.hibernate.query.sqm.tree.SqmTypedNode;
|
||||
|
|
|
@ -12,7 +12,6 @@ import org.hibernate.query.ReturnableType;
|
|||
import org.hibernate.query.spi.QueryEngine;
|
||||
import org.hibernate.query.sqm.function.AbstractSqmFunctionDescriptor;
|
||||
import org.hibernate.query.sqm.function.FunctionRenderer;
|
||||
import org.hibernate.query.sqm.function.FunctionRenderingSupport;
|
||||
import org.hibernate.query.sqm.function.SelfRenderingSqmFunction;
|
||||
import org.hibernate.query.sqm.produce.function.ArgumentTypesValidator;
|
||||
import org.hibernate.query.sqm.produce.function.StandardArgumentsValidators;
|
||||
|
|
|
@ -27,7 +27,7 @@ import static org.hibernate.type.SqlTypes.*;
|
|||
|
||||
/**
|
||||
* Resolve according to JPA spec 4.8.5
|
||||
*
|
||||
* <p>
|
||||
* {@code SUM} returns:
|
||||
* <ul>
|
||||
* <li>{@code Long} when applied to state fields of integral types (other than {@code BigInteger});
|
||||
|
|
|
@ -11,7 +11,6 @@ import java.util.List;
|
|||
import org.hibernate.query.ReturnableType;
|
||||
import org.hibernate.query.spi.QueryEngine;
|
||||
import org.hibernate.query.sqm.function.FunctionRenderer;
|
||||
import org.hibernate.query.sqm.function.FunctionRenderingSupport;
|
||||
import org.hibernate.query.sqm.function.SelfRenderingSqmFunction;
|
||||
import org.hibernate.query.sqm.produce.function.StandardArgumentsValidators;
|
||||
import org.hibernate.query.sqm.produce.function.StandardFunctionReturnTypeResolvers;
|
||||
|
|
|
@ -46,7 +46,7 @@ import static org.hibernate.type.SqlTypes.isCharacterType;
|
|||
*/
|
||||
public class TrimFunction extends AbstractSqmSelfRenderingFunctionDescriptor {
|
||||
private final Dialect dialect;
|
||||
private SqlAstNodeRenderingMode argumentRenderingMode;
|
||||
private final SqlAstNodeRenderingMode argumentRenderingMode;
|
||||
|
||||
public TrimFunction(Dialect dialect, TypeConfiguration typeConfiguration) {
|
||||
this( dialect, typeConfiguration, SqlAstNodeRenderingMode.DEFAULT );
|
||||
|
|
Loading…
Reference in New Issue