Unify method visibility of private classes
Apply checkstyle rule to ensure that private and package private classes do not have unnecessary public methods. Test classes have also been unified as much as possible to use default scoped inner-classes. Closes gh-7316
This commit is contained in:
@@ -122,7 +122,7 @@ class DependencyFilterMojoTests {
|
||||
this.additionalFilters = additionalFilters;
|
||||
}
|
||||
|
||||
public Set<Artifact> filterDependencies(Artifact... artifacts) throws MojoExecutionException {
|
||||
Set<Artifact> filterDependencies(Artifact... artifacts) throws MojoExecutionException {
|
||||
Set<Artifact> input = new LinkedHashSet<>(Arrays.asList(artifacts));
|
||||
return filterDependencies(input, getFilters(this.additionalFilters));
|
||||
}
|
||||
|
||||
@@ -159,7 +159,7 @@ public final class Verify {
|
||||
|
||||
}
|
||||
|
||||
private abstract static class AbstractArchiveVerification {
|
||||
public abstract static class AbstractArchiveVerification {
|
||||
|
||||
private final File file;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user