Skip to content

Commit 7cd5aa8

Browse files
committed
squash IntelliJ grammar nags
1 parent da2ee40 commit 7cd5aa8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hibernate-core/src/main/java/org/hibernate/sql/Template.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,13 +145,13 @@ public static String renderWhereStringTemplate(
145145

146146
// IMPL NOTE: The basic process here is to tokenize the incoming string and to iterate over each token
147147
// in turn. As we process each token, we set a series of flags used to indicate the type of context in
148-
// which the tokens occur. Depending on the state of those flags we decide whether we need to qualify
148+
// which the tokens occur. Depending on the state of those flags, we decide whether we need to qualify
149149
// identifier references.
150150

151151
// WARNING TO MAINTAINERS: This is a simple scanner-based state machine. Please don't attempt to turn it into
152152
// a parser for SQL, no matter how "special" your case is. What I mean by this is: don't write code which
153153
// attempts to recognize the grammar of SQL, not even little bits of SQL. Previous "enhancements" to this
154-
// function did not respect this concept, and resulted in code which was fragile and unmaintainable. If
154+
// function did not respect this concept and resulted in code which was fragile and unmaintainable. If
155155
// lookahead is truly necessary, use the lookahead() function provided below.
156156

157157
final String symbols = PUNCTUATION + WHITESPACE + dialect.openQuote() + dialect.closeQuote();

0 commit comments

Comments
 (0)