qian created SPARK-38439:
----------------------------

             Summary: Add Braces with if,else,for,do and while statements
                 Key: SPARK-38439
                 URL: https://issues.apache.org/jira/browse/SPARK-38439
             Project: Spark
          Issue Type: Improvement
          Components: Spark Core, SQL
    Affects Versions: 3.2.1, 3.2.0
            Reporter: qian


Braces are used with {_}if{_}, {_}else{_}, {_}for{_}, _do_ and _while_ 
statements, even if the body contains only a single statement. Avoid using the 
following example: 
{code:java}
if (condition) statements;
{code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to