Skip to content

Commit

Permalink
Fix scalastyle in parsers.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
miland-db committed Nov 19, 2024
1 parent 3c547d5 commit c867696
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ case class UnclosedCommentProcessor(command: String, tokenStream: CommonTokenStr
ctx: SqlBaseParser.CompoundOrSingleStatementContext): Unit = {
// Same as in exitSingleStatement, we shouldn't parse the comments in SET command.
if (Option(ctx.singleStatement()).forall(
!_.setResetStatement().isInstanceOf[SqlBaseParser.SetConfigurationContext])) {
!_.setResetStatement().isInstanceOf[SqlBaseParser.SetConfigurationContext])) {
checkUnclosedComment(tokenStream, command)
}
}
Expand Down

0 comments on commit c867696

Please sign in to comment.