spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reynold Xin (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SPARK-14868) Enable NewLineAtEofChecker in checkstyle and fix lint-java errors
Date Mon, 25 Apr 2016 03:40:12 GMT

     [ https://issues.apache.org/jira/browse/SPARK-14868?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Reynold Xin resolved SPARK-14868.
---------------------------------
       Resolution: Fixed
         Assignee: Dongjoon Hyun
    Fix Version/s: 2.0.0

> 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
>            Assignee: Dongjoon Hyun
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> 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


Mime
View raw message