{"push_id":1062311958,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"b0f5497e9520575e5082fa8ce8be5569f43abe74","before":"678b96e77bf77a64b8df14b19db5a3bb18febfe3","commits":[{"sha":"b0f5497e9520575e5082fa8ce8be5569f43abe74","author":{"email":"6ff48b33cbb828151035af58a92f18a39f1d1036@apache.org","name":"Dongjoon Hyun"},"message":"[SPARK-14508][BUILD] Add a new ScalaStyle Rule `OmitBracesInCase`\n\n## What changes were proposed in this pull request?\n\nAccording to the [Spark Code Style Guide](https://cwiki.apache.org/confluence/display/SPARK/Spark+Code+Style+Guide) and [Scala Style Guide](http://docs.scala-lang.org/style/control-structures.html#curlybraces), we had better enforce the following rule.\n  ```\n  case: Always omit braces in case clauses.\n  ```\nThis PR makes a new ScalaStyle rule, 'OmitBracesInCase', and enforces it to the code.\n\n## How was this patch tested?\n\nPass the Jenkins tests (including Scala style checking)\n\nAuthor: Dongjoon Hyun <dongjoon@apache.org>\n\nCloses #12280 from dongjoon-hyun/SPARK-14508.","distinct":true,"url":"https://api.github.com/repos/zzcclp/spark/commits/b0f5497e9520575e5082fa8ce8be5569f43abe74"}]}