[
https://issues.apache.org/jira/browse/SPARK-2771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ted Yu updated SPARK-2771:
--------------------------
Attachment: spark-2771-v1.txt
Patch v1 shortens line 118 to 100 chars wide.
> GenerateMIMAIgnore fails scalastyle check due to long line
> ----------------------------------------------------------
>
> Key: SPARK-2771
> URL: https://issues.apache.org/jira/browse/SPARK-2771
> Project: Spark
> Issue Type: Bug
> Reporter: Ted Yu
> Priority: Minor
> Attachments: spark-2771-v1.txt
>
>
> I got the following error building master branch:
> {code}
> [INFO] --- scalastyle-maven-plugin:0.4.0:check (default) @ spark-tools_2.10
> ---
> error
> file=/homes/hortonzy/spark/tools/src/main/scala/org/apache/spark/tools/GenerateMIMAIgnore.scala
> message=File line length exceeds 100 characters line=118
> Saving to outputFile=/homes/hortonzy/spark/tools/scalastyle-output.xml
> Processed 3 file(s)
> {code}
> This is caused by 3rd line below:
> {code}
> classSymbol.typeSignature.members.filterNot(x =>
> x.fullName.startsWith("java") || x.fullName.startsWith("scala"))
> .filter(x => isPackagePrivate(x) || isDeveloperApi(x) ||
> isExperimental(x)).map(_.fullName) ++
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)