Github user JoshRosen commented on a diff in the pull request: https://github.com/apache/spark/pull/11178#discussion_r55782542 --- Diff: tools/src/main/scala/org/apache/spark/tools/GenerateMIMAIgnore.scala --- @@ -133,14 +140,14 @@ object GenerateMIMAIgnore { val (privateClasses, privateMembers) = privateWithin("org.apache.spark") val previousContents = Try(File(".generated-mima-class-excludes").lines()). getOrElse(Iterator.empty).mkString("\n") - File(".generated-mima-class-excludes") - .writeAll(previousContents + privateClasses.mkString("\n")) + File(".generated-mima-class-excludes").writeAll( --- End diff -- Here, I decided to sort things just to make debugging a little nicer for myself.
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org