You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean R. Owen (Jira)" <ji...@apache.org> on 2022/04/16 20:28:00 UTC
[jira] [Resolved] (SPARK-38439) Add Braces with if,else,for,do and while statements
[ https://issues.apache.org/jira/browse/SPARK-38439?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean R. Owen resolved SPARK-38439.
----------------------------------
Resolution: Won't Fix
> 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.0, 3.2.1
> Reporter: qian
> Priority: Trivial
>
> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org