Skip to content

Commit c2b1c5f

Browse files
committed
Took square bracket out
1 parent 3cfb174 commit c2b1c5f

File tree

1 file changed

+1
-1
lines changed
  • sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/codegen

1 file changed

+1
-1
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/codegen/CodeFormatter.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ private class CodeFormatter {
3535

3636
private def addLine(line: String): Unit = {
3737
val indentChange =
38-
line.count(c => "({[".indexOf(c) >= 0) - line.count(c => ")}]".indexOf(c) >= 0)
38+
line.count(c => "({".indexOf(c) >= 0) - line.count(c => ")}".indexOf(c) >= 0)
3939
val newIndentLevel = math.max(0, indentLevel + indentChange)
4040
// Lines starting with '}' should be de-indented even if they contain '{' after;
4141
// in addition, lines ending with ':' are typically labels

0 commit comments

Comments
 (0)