Skip to content

Commit

Permalink
SPARK-2749 [BUILD] Part 2. Fix a follow-on scalastyle error
Browse files Browse the repository at this point in the history
The test compile error is fixed, but the build still fails because of one scalastyle error.

https://amplab.cs.berkeley.edu/jenkins/view/Spark/job/Spark-Master-Maven-pre-YARN/lastFailedBuild/hadoop.version=1.0.4,label=centos/console

Author: Sean Owen <srowen@gmail.com>

Closes apache#1690 from srowen/SPARK-2749 and squashes the following commits:

1c9e7a6 [Sean Owen] Also: fix scalastyle error by wrapping a long line
  • Loading branch information
srowen authored and pwendell committed Jul 31, 2014
1 parent f68105d commit 4dbabb3
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,10 @@ object GenerateMIMAIgnore {

private def getAnnotatedOrPackagePrivateMembers(classSymbol: unv.ClassSymbol) = {
classSymbol.typeSignature.members.filterNot(x =>
x.fullName.startsWith("java") || x.fullName.startsWith("scala"))
.filter(x => isPackagePrivate(x) || isDeveloperApi(x) || isExperimental(x)).map(_.fullName) ++
getInnerFunctions(classSymbol)
x.fullName.startsWith("java") || x.fullName.startsWith("scala")
).filter(x =>
isPackagePrivate(x) || isDeveloperApi(x) || isExperimental(x)
).map(_.fullName) ++ getInnerFunctions(classSymbol)
}

def main(args: Array[String]) {
Expand Down

0 comments on commit 4dbabb3

Please sign in to comment.