GitHub user dongjoon-hyun opened a pull request:
https://github.com/apache/spark/pull/20242
[MINOR][BUILD] Fix Java linter errors
## What changes were proposed in this pull request?
This PR cleans up the java-lint errors (for v2.3.0-rc1 tag). Hopefully,
this will be the final one.
```
$ dev/lint-java
Using `mvn` from path: /usr/local/bin/mvn
Checkstyle checks failed at following occurrences:
[ERROR]
src/main/java/org/apache/spark/unsafe/memory/HeapMemoryAllocator.java:[85]
(sizes) LineLength: Line is longer than 100 characters (found 101).
[ERROR]
src/main/java/org/apache/spark/launcher/InProcessAppHandle.java:[20,8]
(imports) UnusedImports: Unused import - java.io.IOException.
[ERROR]
src/main/java/org/apache/spark/sql/execution/datasources/orc/OrcColumnVector.java:[41,9]
(modifier) ModifierOrder: 'private' modifier out of order with the JLS
suggestions.
[ERROR]
src/test/java/test/org/apache/spark/sql/JavaDataFrameSuite.java:[464] (sizes)
LineLength: Line is longer than 100 characters (found 102).
```
## How was this patch tested?
Manual.
```
$ dev/lint-java
Using `mvn` from path: /usr/local/bin/mvn
Checkstyle checks passed.
```
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dongjoon-hyun/spark fix_lint_java_2.3_rc1
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/20242.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 #20242
----
commit 752daa38736d9f620efc47d65fe9277315a397e9
Author: Dongjoon Hyun <dongjoon@...>
Date: 2018-01-12T02:49:02Z
[MINOR][BUILD] Fix Java linter errors
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]