GitHub user Sherry302 opened a pull request:
https://github.com/apache/spark/pull/14768
[MINOR][BUILD] Fix Java CheckStyle Error
## What changes were proposed in this pull request?
As Spark 2.0.1 will be released soon (mentioned in the spark dev mailing
list), besides the critical bugs, it's better to fix the code style errors
before the release.
Before:
```
./dev/lint-java
Checkstyle checks failed at following occurrences:
[ERROR]
src/main/java/org/apache/spark/util/collection/unsafe/sort/UnsafeExternalSorter.java:[525]
(sizes) LineLength: Line is longer than 100 characters (found 119).
[ERROR]
src/main/java/org/apache/spark/examples/sql/streaming/JavaStructuredNetworkWordCount.java:[64]
(sizes) LineLength: Line is longer than 100 characters (found 103).
```
After:
```
./dev/lint-java
Using `mvn` from path: /usr/local/bin/mvn
Checkstyle checks passed.
```
## How was this patch tested?
Manual.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/Sherry302/spark fixjavastyle
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/14768.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 #14768
----
commit a36989105086f60417f21341d8573b4d3c6bc7eb
Author: Weiqing Yang <[email protected]>
Date: 2016-08-23T04:42:04Z
[MINOR][BUILD] Fix Java CheckStyle Error
----
---
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]