Skip to content

Commit 61dabb3

Browse files
committed
very minor grammar fixes in comments
1 parent 150d4f8 commit 61dabb3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hibernate-core/src/main/java/org/hibernate/sql/ast/spi/AbstractSqlAstTranslator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5603,7 +5603,7 @@ protected void renderSelectExpression(Expression expression) {
56035603
}
56045604

56055605
protected void renderExpressionAsClauseItem(Expression expression) {
5606-
// Most databases do not support predicates as top level items
5606+
// Most databases do not support predicates as top-level items
56075607
if ( expression instanceof Predicate ) {
56085608
appendSql( "case when " );
56095609
expression.accept( this );
@@ -5619,7 +5619,7 @@ protected void renderExpressionAsClauseItem(Expression expression) {
56195619
}
56205620

56215621
protected void renderSelectExpressionWithCastedOrInlinedPlainParameters(Expression expression) {
5622-
// Null literals have to be casted in the select clause
5622+
// Null literals have to be cast in the select clause
56235623
if ( expression instanceof Literal literal ) {
56245624
if ( literal.getLiteralValue() == null ) {
56255625
renderCasted( literal );

0 commit comments

Comments
 (0)