Skip to content

Commit e6eaa7d

Browse files
committed
very minor grammar fixes in comments
1 parent ba841c4 commit e6eaa7d

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
@@ -5611,7 +5611,7 @@ protected void renderSelectExpression(Expression expression) {
56115611
}
56125612

56135613
protected void renderExpressionAsClauseItem(Expression expression) {
5614-
// Most databases do not support predicates as top level items
5614+
// Most databases do not support predicates as top-level items
56155615
if ( expression instanceof Predicate ) {
56165616
appendSql( "case when " );
56175617
expression.accept( this );
@@ -5627,7 +5627,7 @@ protected void renderExpressionAsClauseItem(Expression expression) {
56275627
}
56285628

56295629
protected void renderSelectExpressionWithCastedOrInlinedPlainParameters(Expression expression) {
5630-
// Null literals have to be casted in the select clause
5630+
// Null literals have to be cast in the select clause
56315631
if ( expression instanceof Literal literal ) {
56325632
if ( literal.getLiteralValue() == null ) {
56335633
renderCasted( literal );

0 commit comments

Comments
 (0)