Dongjoon Hyun created SPARK-14868:
-------------------------------------

             Summary: Enable NewLineAtEofChecker in checkstyle and fix 
lint-java errors
                 Key: SPARK-14868
                 URL: https://issues.apache.org/jira/browse/SPARK-14868
             Project: Spark
          Issue Type: Task
          Components: Build
            Reporter: Dongjoon Hyun
            Priority: Minor


Spark uses `NewLineAtEofChecker` rule in Scala by ScalaStyle. And, most Java 
code also comply with the rule. This issue aims to enforce the same rule 
`NewlineAtEndOfFile` by CheckStyle explicitly. Also, this fixes lint-java 
errors since SPARK-14465.

This issue does the following items.
* Adds a new line at the end of the files (19 files)
* Fixes 25 lint-java errors (12 RedundantModifier, 6 ArrayTypeStyle, 2 
LineLength, 2 UnusedImports, 2 RegexpSingleline, 1 ModifierOrder)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to