inline a redundant variable
Signed-off-by: Gavin King <gavin@hibernate.org>
This commit is contained in:
parent
08f25cf8d9
commit
3c793c7a30
|
@ -77,9 +77,8 @@ public class CastFunction extends AbstractSqmSelfRenderingFunctionDescriptor {
|
|||
renderCastArrayToString( sqlAppender, arguments.get( 0 ), dialect, walker );
|
||||
}
|
||||
else {
|
||||
String cast = dialect.castPattern( sourceType, targetType );
|
||||
|
||||
new PatternRenderer( cast ).render( sqlAppender, arguments, walker );
|
||||
new PatternRenderer( dialect.castPattern( sourceType, targetType ) )
|
||||
.render( sqlAppender, arguments, walker );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue