Skip to content

Conversation

@thunterdb
Copy link
Contributor

This adds an extra filter for private or protected classes. We only filter for package private right now.

@thunterdb
Copy link
Contributor Author

cc @pwendell @mengxr

@SparkQA
Copy link

SparkQA commented Nov 13, 2015

Test build #45875 has finished for PR 9697 at commit 39a59bd.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):\n * public class JavaGradientBoostingClassificationExample\n * public class JavaGradientBoostingRegressionExample\n * public class JavaRandomForestClassificationExample\n * public class JavaRandomForestRegressionExample\n

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You also added protected here though; I'm not sure that's safe to exclude from checks.

The point is that some previous excludes are now caught by the new isPrivate check and ignored?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After checking the scala specs, the protected modifier only affects methods, not classes. I am removing it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

About your previous question, yes, isPrivate catches some classes that we did not catch previously (because we were checking for package-private classes, not private classes).

@thunterdb
Copy link
Contributor Author

@srowen sorry the delay. comment addressed

@SparkQA
Copy link

SparkQA commented Nov 16, 2015

Test build #46006 has finished for PR 9697 at commit 69d75ab.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@srowen
Copy link
Member

srowen commented Nov 17, 2015

LGTM @pwendell as I can't see why MiMa would need to look at private classes of any type.

@pwendell
Copy link
Contributor

Yep, this LGTM

@srowen
Copy link
Member

srowen commented Nov 17, 2015

Merged to master/1.6

asfgit pushed a commit that referenced this pull request Nov 17, 2015
This adds an extra filter for private or protected classes. We only filter for package private right now.

Author: Timothy Hunter <[email protected]>

Closes #9697 from thunterdb/spark-11732.

(cherry picked from commit fa603e0)
Signed-off-by: Sean Owen <[email protected]>
@asfgit asfgit closed this in fa603e0 Nov 17, 2015
@thunterdb
Copy link
Contributor Author

Thank you @srowen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants