You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/04/23 08:04:12 UTC

[jira] [Commented] (SPARK-14868) Enable NewLineAtEofChecker in checkstyle and fix lint-java errors

    [ https://issues.apache.org/jira/browse/SPARK-14868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15255162#comment-15255162 ] 

Apache Spark commented on SPARK-14868:
--------------------------------------

User 'dongjoon-hyun' has created a pull request for this issue:
https://github.com/apache/spark/pull/12632

> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org