GitHub user dongjoon-hyun opened a pull request:
https://github.com/apache/spark/pull/11438
[SPARK-13583][BUILD] Enforce `UnusedImports` Java checkstyle rule
## What changes were proposed in this pull request?
After SPARK-6990, `dev/lint-java` keeps Java code healthy and helps PR
review by saving much time.
This issue aims to enforce `UnusedImports` rule by adding a `UnusedImports`
rule to `checkstyle.xml` and fixing all existing unused imports.
## How was this patch tested?
```
./dev/lint-java
./build/sbt compile
```
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dongjoon-hyun/spark SPARK-13583
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/11438.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #11438
----
commit 5e82490c007146393c5d326ad23ca53ea41c4208
Author: Dongjoon Hyun <[email protected]>
Date: 2016-02-29T23:34:16Z
[SPARK-13583][BUILD] Enforce `UnusedImports` Java checkstyle rule
After SPARK-6990, `dev/lint-java` keeps Java code healthy and helps PR
review by saving much time.
This issue aims to enforce `UnusedImports` rule by adding a `UnusedImports`
rule to `checkstyle.xml` and fixing all existing unused imports.
./dev/lint-java
./build/sbt compile
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]