diff --git a/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java b/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java index 105d9b5bc9..8eb9a8fc11 100644 --- a/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java +++ b/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java @@ -98,7 +98,7 @@ public class ComparableVersion this.value = BIG_INTEGER_ZERO; } - public IntegerItem( String str ) + IntegerItem( String str ) { this.value = new BigInteger( str ); } @@ -169,7 +169,7 @@ public class ComparableVersion private String value; - public StringItem( String value, boolean followedByDigit ) + StringItem( String value, boolean followedByDigit ) { if ( followedByDigit && value.length() == 1 ) { diff --git a/maven-builder-support/src/main/java/org/apache/maven/building/DefaultProblem.java b/maven-builder-support/src/main/java/org/apache/maven/building/DefaultProblem.java index 427eb2c6e4..5ac68ef1ca 100644 --- a/maven-builder-support/src/main/java/org/apache/maven/building/DefaultProblem.java +++ b/maven-builder-support/src/main/java/org/apache/maven/building/DefaultProblem.java @@ -55,7 +55,7 @@ class DefaultProblem * @param columnNumber The one-based index of the column containing the problem or {@code -1} if unknown. * @param exception The exception that caused this problem, may be {@code null}. */ - public DefaultProblem( String message, Severity severity, String source, int lineNumber, int columnNumber, + DefaultProblem( String message, Severity severity, String source, int lineNumber, int columnNumber, Exception exception ) { this.message = message; diff --git a/maven-builder-support/src/main/java/org/apache/maven/building/DefaultProblemCollector.java b/maven-builder-support/src/main/java/org/apache/maven/building/DefaultProblemCollector.java index 567f620e7e..8502942e23 100644 --- a/maven-builder-support/src/main/java/org/apache/maven/building/DefaultProblemCollector.java +++ b/maven-builder-support/src/main/java/org/apache/maven/building/DefaultProblemCollector.java @@ -36,7 +36,7 @@ class DefaultProblemCollector private String source; - public DefaultProblemCollector( List problems ) + DefaultProblemCollector( List problems ) { this.problems = ( problems != null ) ? problems : new ArrayList(); } diff --git a/maven-core/src/main/java/org/apache/maven/ReactorReader.java b/maven-core/src/main/java/org/apache/maven/ReactorReader.java index 99ae0a36f3..84662ff875 100644 --- a/maven-core/src/main/java/org/apache/maven/ReactorReader.java +++ b/maven-core/src/main/java/org/apache/maven/ReactorReader.java @@ -64,7 +64,7 @@ class ReactorReader private WorkspaceRepository repository; @Inject - public ReactorReader( MavenSession session ) + ReactorReader( MavenSession session ) { projectsByGAV = session.getProjectMap(); diff --git a/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java b/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java index 00f132788c..c1e21c44be 100644 --- a/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java +++ b/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java @@ -347,7 +347,7 @@ public class RepositoryUtils private final ArtifactHandlerManager handlerManager; - public MavenArtifactTypeRegistry( ArtifactHandlerManager handlerManager ) + MavenArtifactTypeRegistry( ArtifactHandlerManager handlerManager ) { this.handlerManager = handlerManager; } diff --git a/maven-core/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java b/maven-core/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java index 0c92721072..bc6336447c 100644 --- a/maven-core/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java +++ b/maven-core/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java @@ -197,7 +197,7 @@ public class LegacyLocalRepositoryManager private final Metadata metadata; - public ArtifactMetadataAdapter( Metadata metadata ) + ArtifactMetadataAdapter( Metadata metadata ) { this.metadata = metadata; } @@ -291,7 +291,7 @@ public class LegacyLocalRepositoryManager private final RemoteRepository repository; - public ArtifactRepositoryAdapter( RemoteRepository repository ) + ArtifactRepositoryAdapter( RemoteRepository repository ) { this.repository = repository; } diff --git a/maven-core/src/main/java/org/apache/maven/classrealm/ArtifactClassRealmConstituent.java b/maven-core/src/main/java/org/apache/maven/classrealm/ArtifactClassRealmConstituent.java index 562d6f4748..16d3e7b432 100644 --- a/maven-core/src/main/java/org/apache/maven/classrealm/ArtifactClassRealmConstituent.java +++ b/maven-core/src/main/java/org/apache/maven/classrealm/ArtifactClassRealmConstituent.java @@ -32,7 +32,7 @@ class ArtifactClassRealmConstituent private final Artifact artifact; - public ArtifactClassRealmConstituent( Artifact artifact ) + ArtifactClassRealmConstituent( Artifact artifact ) { this.artifact = artifact; } diff --git a/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmRequest.java b/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmRequest.java index 062b2cf336..8694b0142f 100644 --- a/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmRequest.java +++ b/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmRequest.java @@ -39,8 +39,8 @@ class DefaultClassRealmRequest private final List constituents; - public DefaultClassRealmRequest( RealmType type, ClassLoader parent, List parentImports, - Map foreignImports, List constituents ) + DefaultClassRealmRequest( RealmType type, ClassLoader parent, List parentImports, + Map foreignImports, List constituents ) { this.type = type; this.parent = parent; diff --git a/maven-core/src/main/java/org/apache/maven/configuration/internal/DefaultBeanConfigurator.java b/maven-core/src/main/java/org/apache/maven/configuration/internal/DefaultBeanConfigurator.java index 21c1ee31d7..1b3c71a1da 100644 --- a/maven-core/src/main/java/org/apache/maven/configuration/internal/DefaultBeanConfigurator.java +++ b/maven-core/src/main/java/org/apache/maven/configuration/internal/DefaultBeanConfigurator.java @@ -111,7 +111,7 @@ public class DefaultBeanConfigurator private final BeanConfigurationPathTranslator translator; - public BeanExpressionEvaluator( BeanConfigurationRequest request ) + BeanExpressionEvaluator( BeanConfigurationRequest request ) { preprocessor = request.getValuePreprocessor(); translator = request.getPathTranslator(); diff --git a/maven-core/src/main/java/org/apache/maven/eventspy/internal/EventSpyExecutionListener.java b/maven-core/src/main/java/org/apache/maven/eventspy/internal/EventSpyExecutionListener.java index 6b25da5807..cc0a31133b 100644 --- a/maven-core/src/main/java/org/apache/maven/eventspy/internal/EventSpyExecutionListener.java +++ b/maven-core/src/main/java/org/apache/maven/eventspy/internal/EventSpyExecutionListener.java @@ -35,7 +35,7 @@ class EventSpyExecutionListener private final ExecutionListener delegate; - public EventSpyExecutionListener( EventSpyDispatcher dispatcher, ExecutionListener delegate ) + EventSpyExecutionListener( EventSpyDispatcher dispatcher, ExecutionListener delegate ) { this.dispatcher = dispatcher; this.delegate = delegate; diff --git a/maven-core/src/main/java/org/apache/maven/eventspy/internal/EventSpyRepositoryListener.java b/maven-core/src/main/java/org/apache/maven/eventspy/internal/EventSpyRepositoryListener.java index 60d4cd1cda..a2bce12844 100644 --- a/maven-core/src/main/java/org/apache/maven/eventspy/internal/EventSpyRepositoryListener.java +++ b/maven-core/src/main/java/org/apache/maven/eventspy/internal/EventSpyRepositoryListener.java @@ -34,7 +34,7 @@ class EventSpyRepositoryListener private final RepositoryListener delegate; - public EventSpyRepositoryListener( EventSpyDispatcher dispatcher, RepositoryListener delegate ) + EventSpyRepositoryListener( EventSpyDispatcher dispatcher, RepositoryListener delegate ) { this.dispatcher = dispatcher; this.delegate = delegate; diff --git a/maven-core/src/main/java/org/apache/maven/execution/SettingsAdapter.java b/maven-core/src/main/java/org/apache/maven/execution/SettingsAdapter.java index 9a7699321c..bf5d3730ec 100644 --- a/maven-core/src/main/java/org/apache/maven/execution/SettingsAdapter.java +++ b/maven-core/src/main/java/org/apache/maven/execution/SettingsAdapter.java @@ -47,7 +47,7 @@ class SettingsAdapter private RuntimeInfo runtimeInfo; - public SettingsAdapter( MavenExecutionRequest request ) + SettingsAdapter( MavenExecutionRequest request ) { this.request = request; diff --git a/maven-core/src/main/java/org/apache/maven/graph/FilteredProjectDependencyGraph.java b/maven-core/src/main/java/org/apache/maven/graph/FilteredProjectDependencyGraph.java index c4f8e1a4d2..795e666612 100644 --- a/maven-core/src/main/java/org/apache/maven/graph/FilteredProjectDependencyGraph.java +++ b/maven-core/src/main/java/org/apache/maven/graph/FilteredProjectDependencyGraph.java @@ -50,8 +50,8 @@ class FilteredProjectDependencyGraph * @param projectDependencyGraph The project dependency graph to create a sub view from, must not be {@code null}. * @param whiteList The projects on which the dependency view should focus, must not be {@code null}. */ - public FilteredProjectDependencyGraph( ProjectDependencyGraph projectDependencyGraph, - Collection whiteList ) + FilteredProjectDependencyGraph( ProjectDependencyGraph projectDependencyGraph, + Collection whiteList ) { this.projectDependencyGraph = Validate.notNull( projectDependencyGraph, "projectDependencyGraph cannot be null" ); diff --git a/maven-core/src/main/java/org/apache/maven/internal/aether/LoggingRepositoryListener.java b/maven-core/src/main/java/org/apache/maven/internal/aether/LoggingRepositoryListener.java index 7b67c3bd3f..67dca47f9b 100644 --- a/maven-core/src/main/java/org/apache/maven/internal/aether/LoggingRepositoryListener.java +++ b/maven-core/src/main/java/org/apache/maven/internal/aether/LoggingRepositoryListener.java @@ -35,7 +35,7 @@ class LoggingRepositoryListener private final Logger logger; - public LoggingRepositoryListener( Logger logger ) + LoggingRepositoryListener( Logger logger ) { this.logger = logger; } diff --git a/maven-core/src/main/java/org/apache/maven/lifecycle/internal/CompoundProjectExecutionListener.java b/maven-core/src/main/java/org/apache/maven/lifecycle/internal/CompoundProjectExecutionListener.java index f2a8291ac9..48474e6582 100644 --- a/maven-core/src/main/java/org/apache/maven/lifecycle/internal/CompoundProjectExecutionListener.java +++ b/maven-core/src/main/java/org/apache/maven/lifecycle/internal/CompoundProjectExecutionListener.java @@ -30,7 +30,7 @@ class CompoundProjectExecutionListener { private final Collection listeners; - public CompoundProjectExecutionListener( Collection listeners ) + CompoundProjectExecutionListener( Collection listeners ) { this.listeners = listeners; // NB this is live injected collection } diff --git a/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultExecutionEvent.java b/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultExecutionEvent.java index 9434a65933..109087154b 100644 --- a/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultExecutionEvent.java +++ b/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultExecutionEvent.java @@ -41,7 +41,7 @@ class DefaultExecutionEvent private final Exception exception; - public DefaultExecutionEvent( Type type, MavenSession session, MojoExecution mojoExecution, Exception exception ) + DefaultExecutionEvent( Type type, MavenSession session, MojoExecution mojoExecution, Exception exception ) { this.type = type; this.session = session; diff --git a/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java b/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java index f7636ef0c8..dfc65a83b1 100644 --- a/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java +++ b/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java @@ -356,7 +356,7 @@ public class LifecycleDependencyResolver private Set keys = new HashSet<>(); - public ReactorDependencyFilter( Collection artifacts ) + ReactorDependencyFilter( Collection artifacts ) { for ( Artifact artifact : artifacts ) { diff --git a/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/ThreadOutputMuxer.java b/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/ThreadOutputMuxer.java index edf8ab68a6..587a84751a 100644 --- a/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/ThreadOutputMuxer.java +++ b/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/ThreadOutputMuxer.java @@ -209,7 +209,7 @@ public class ThreadOutputMuxer extends PrintStream { - public ThreadBoundPrintStream( PrintStream systemOutStream ) + ThreadBoundPrintStream( PrintStream systemOutStream ) { super( systemOutStream ); } diff --git a/maven-core/src/main/java/org/apache/maven/plugin/CompoundMojoExecutionListener.java b/maven-core/src/main/java/org/apache/maven/plugin/CompoundMojoExecutionListener.java index 9fe528334d..e61ffbd06b 100644 --- a/maven-core/src/main/java/org/apache/maven/plugin/CompoundMojoExecutionListener.java +++ b/maven-core/src/main/java/org/apache/maven/plugin/CompoundMojoExecutionListener.java @@ -30,7 +30,7 @@ class CompoundMojoExecutionListener private final Collection listeners; - public CompoundMojoExecutionListener( Collection listeners ) + CompoundMojoExecutionListener( Collection listeners ) { this.listeners = listeners; // NB this is live injected collection } diff --git a/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginDescriptorCache.java b/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginDescriptorCache.java index 32228ba134..1e87998d71 100644 --- a/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginDescriptorCache.java +++ b/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginDescriptorCache.java @@ -141,7 +141,7 @@ public class DefaultPluginDescriptorCache private final int hashCode; - public CacheKey( Plugin plugin, List repositories, RepositorySystemSession session ) + CacheKey( Plugin plugin, List repositories, RepositorySystemSession session ) { groupId = plugin.getGroupId(); artifactId = plugin.getArtifactId(); diff --git a/maven-core/src/main/java/org/apache/maven/plugin/ExtensionRealmCache.java b/maven-core/src/main/java/org/apache/maven/plugin/ExtensionRealmCache.java index 803b4b0527..ffae815913 100644 --- a/maven-core/src/main/java/org/apache/maven/plugin/ExtensionRealmCache.java +++ b/maven-core/src/main/java/org/apache/maven/plugin/ExtensionRealmCache.java @@ -44,7 +44,7 @@ public interface ExtensionRealmCache // marker interface for cache keys } - static class CacheRecord + class CacheRecord { public final ClassRealm realm; @@ -53,7 +53,7 @@ public interface ExtensionRealmCache public final List artifacts; - public CacheRecord( ClassRealm realm, ExtensionDescriptor descriptor, List artifacts ) + CacheRecord( ClassRealm realm, ExtensionDescriptor descriptor, List artifacts ) { this.realm = realm; this.descriptor = descriptor; diff --git a/maven-core/src/main/java/org/apache/maven/plugin/PluginArtifactsCache.java b/maven-core/src/main/java/org/apache/maven/plugin/PluginArtifactsCache.java index 17537a298e..e24b73394d 100644 --- a/maven-core/src/main/java/org/apache/maven/plugin/PluginArtifactsCache.java +++ b/maven-core/src/main/java/org/apache/maven/plugin/PluginArtifactsCache.java @@ -47,14 +47,14 @@ public interface PluginArtifactsCache // marker interface for cache keys } - static class CacheRecord + class CacheRecord { public final List artifacts; public final PluginResolutionException exception; - public CacheRecord( List artifacts ) + CacheRecord( List artifacts ) { this.artifacts = artifacts; this.exception = null; diff --git a/maven-core/src/main/java/org/apache/maven/plugin/PluginRealmCache.java b/maven-core/src/main/java/org/apache/maven/plugin/PluginRealmCache.java index 1ffa157582..b2c31724c2 100644 --- a/maven-core/src/main/java/org/apache/maven/plugin/PluginRealmCache.java +++ b/maven-core/src/main/java/org/apache/maven/plugin/PluginRealmCache.java @@ -41,13 +41,13 @@ import org.eclipse.aether.repository.RemoteRepository; public interface PluginRealmCache { - static class CacheRecord + class CacheRecord { public final ClassRealm realm; public final List artifacts; - public CacheRecord( ClassRealm realm, List artifacts ) + CacheRecord( ClassRealm realm, List artifacts ) { this.realm = realm; this.artifacts = artifacts; diff --git a/maven-core/src/main/java/org/apache/maven/plugin/internal/PluginDependencyResolutionListener.java b/maven-core/src/main/java/org/apache/maven/plugin/internal/PluginDependencyResolutionListener.java index 18756f3871..47728ec7c2 100644 --- a/maven-core/src/main/java/org/apache/maven/plugin/internal/PluginDependencyResolutionListener.java +++ b/maven-core/src/main/java/org/apache/maven/plugin/internal/PluginDependencyResolutionListener.java @@ -52,7 +52,7 @@ class PluginDependencyResolutionListener private Map bannedArtifacts = new IdentityHashMap<>(); - public PluginDependencyResolutionListener( ArtifactFilter coreFilter ) + PluginDependencyResolutionListener( ArtifactFilter coreFilter ) { this.coreFilter = coreFilter; } diff --git a/maven-core/src/main/java/org/apache/maven/plugin/internal/ValidatingConfigurationListener.java b/maven-core/src/main/java/org/apache/maven/plugin/internal/ValidatingConfigurationListener.java index e9c08bee7c..99b18af7c7 100644 --- a/maven-core/src/main/java/org/apache/maven/plugin/internal/ValidatingConfigurationListener.java +++ b/maven-core/src/main/java/org/apache/maven/plugin/internal/ValidatingConfigurationListener.java @@ -43,7 +43,7 @@ class ValidatingConfigurationListener private final Map missingParameters; - public ValidatingConfigurationListener( Object mojo, MojoDescriptor mojoDescriptor, ConfigurationListener delegate ) + ValidatingConfigurationListener( Object mojo, MojoDescriptor mojoDescriptor, ConfigurationListener delegate ) { this.mojo = mojo; this.delegate = delegate; diff --git a/maven-core/src/main/java/org/apache/maven/plugin/internal/WagonExcluder.java b/maven-core/src/main/java/org/apache/maven/plugin/internal/WagonExcluder.java index 43e8cfc4e3..d374cab9a5 100644 --- a/maven-core/src/main/java/org/apache/maven/plugin/internal/WagonExcluder.java +++ b/maven-core/src/main/java/org/apache/maven/plugin/internal/WagonExcluder.java @@ -39,7 +39,7 @@ class WagonExcluder private final boolean coreArtifact; - public WagonExcluder() + WagonExcluder() { this( false ); } diff --git a/maven-core/src/main/java/org/apache/maven/plugin/prefix/internal/DefaultPluginPrefixResult.java b/maven-core/src/main/java/org/apache/maven/plugin/prefix/internal/DefaultPluginPrefixResult.java index 6a248bff93..2adc6f37cc 100644 --- a/maven-core/src/main/java/org/apache/maven/plugin/prefix/internal/DefaultPluginPrefixResult.java +++ b/maven-core/src/main/java/org/apache/maven/plugin/prefix/internal/DefaultPluginPrefixResult.java @@ -39,18 +39,18 @@ class DefaultPluginPrefixResult private ArtifactRepository repository; - public DefaultPluginPrefixResult() + DefaultPluginPrefixResult() { // does nothing } - public DefaultPluginPrefixResult( Plugin plugin ) + DefaultPluginPrefixResult( Plugin plugin ) { groupId = plugin.getGroupId(); artifactId = plugin.getArtifactId(); } - public DefaultPluginPrefixResult( String groupId, String artifactId, ArtifactRepository repository ) + DefaultPluginPrefixResult( String groupId, String artifactId, ArtifactRepository repository ) { this.groupId = groupId; this.artifactId = artifactId; diff --git a/maven-core/src/main/java/org/apache/maven/plugin/version/internal/DefaultPluginVersionResult.java b/maven-core/src/main/java/org/apache/maven/plugin/version/internal/DefaultPluginVersionResult.java index 9027a532b1..020d6e7a39 100644 --- a/maven-core/src/main/java/org/apache/maven/plugin/version/internal/DefaultPluginVersionResult.java +++ b/maven-core/src/main/java/org/apache/maven/plugin/version/internal/DefaultPluginVersionResult.java @@ -36,12 +36,12 @@ class DefaultPluginVersionResult private ArtifactRepository repository; - public DefaultPluginVersionResult() + DefaultPluginVersionResult() { // does nothing } - public DefaultPluginVersionResult( String version ) + DefaultPluginVersionResult( String version ) { this.version = version; } diff --git a/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingResult.java b/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingResult.java index 06e41017ca..bcc6b4faef 100644 --- a/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingResult.java +++ b/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingResult.java @@ -51,8 +51,8 @@ class DefaultProjectBuildingResult * @param problems The problems that were encountered, may be {@code null}. * @param dependencyResolutionResult The result of the resolution for the project dependencies, may be {@code null}. */ - public DefaultProjectBuildingResult( MavenProject project, List problems, - DependencyResolutionResult dependencyResolutionResult ) + DefaultProjectBuildingResult( MavenProject project, List problems, + DependencyResolutionResult dependencyResolutionResult ) { this.projectId = ( project != null ) ? project.getGroupId() + ':' + project.getArtifactId() + ':' + project.getVersion() @@ -70,7 +70,7 @@ class DefaultProjectBuildingResult * @param pomFile The POM file from which the project was built, may be {@code null}. * @param problems The problems that were encountered, may be {@code null}. */ - public DefaultProjectBuildingResult( String projectId, File pomFile, List problems ) + DefaultProjectBuildingResult( String projectId, File pomFile, List problems ) { this.projectId = ( projectId != null ) ? projectId : ""; this.pomFile = pomFile; diff --git a/maven-core/src/main/java/org/apache/maven/project/DefaultProjectDependenciesResolver.java b/maven-core/src/main/java/org/apache/maven/project/DefaultProjectDependenciesResolver.java index 4e26de27d4..4bb9609fc2 100644 --- a/maven-core/src/main/java/org/apache/maven/project/DefaultProjectDependenciesResolver.java +++ b/maven-core/src/main/java/org/apache/maven/project/DefaultProjectDependenciesResolver.java @@ -236,7 +236,7 @@ public class DefaultProjectDependenciesResolver private String indent = ""; - public GraphLogger( MavenProject project ) + GraphLogger( MavenProject project ) { this.project = project; } diff --git a/maven-core/src/main/java/org/apache/maven/project/ProjectRealmCache.java b/maven-core/src/main/java/org/apache/maven/project/ProjectRealmCache.java index 9265b894c7..3400f96461 100644 --- a/maven-core/src/main/java/org/apache/maven/project/ProjectRealmCache.java +++ b/maven-core/src/main/java/org/apache/maven/project/ProjectRealmCache.java @@ -43,14 +43,14 @@ public interface ProjectRealmCache // marker interface for cache keys } - static class CacheRecord + class CacheRecord { public final ClassRealm realm; public final DependencyFilter extensionArtifactFilter; - public CacheRecord( ClassRealm realm, DependencyFilter extensionArtifactFilter ) + CacheRecord( ClassRealm realm, DependencyFilter extensionArtifactFilter ) { this.realm = realm; this.extensionArtifactFilter = extensionArtifactFilter; diff --git a/maven-core/src/main/java/org/apache/maven/project/ReactorModelCache.java b/maven-core/src/main/java/org/apache/maven/project/ReactorModelCache.java index 9b7c84f49a..63311579a8 100644 --- a/maven-core/src/main/java/org/apache/maven/project/ReactorModelCache.java +++ b/maven-core/src/main/java/org/apache/maven/project/ReactorModelCache.java @@ -58,7 +58,7 @@ class ReactorModelCache private final int hashCode; - public CacheKey( String groupId, String artifactId, String version, String tag ) + CacheKey( String groupId, String artifactId, String version, String tag ) { this.groupId = ( groupId != null ) ? groupId : ""; this.artifactId = ( artifactId != null ) ? artifactId : ""; diff --git a/maven-core/src/main/java/org/apache/maven/project/ReactorModelPool.java b/maven-core/src/main/java/org/apache/maven/project/ReactorModelPool.java index 318dc19b85..6b6d2bbbb9 100644 --- a/maven-core/src/main/java/org/apache/maven/project/ReactorModelPool.java +++ b/maven-core/src/main/java/org/apache/maven/project/ReactorModelPool.java @@ -55,7 +55,7 @@ class ReactorModelPool private final int hashCode; - public CacheKey( String groupId, String artifactId, String version ) + CacheKey( String groupId, String artifactId, String version ) { this.groupId = ( groupId != null ) ? groupId : ""; this.artifactId = ( artifactId != null ) ? artifactId : ""; diff --git a/maven-core/src/main/java/org/apache/maven/project/artifact/ProjectArtifactsCache.java b/maven-core/src/main/java/org/apache/maven/project/artifact/ProjectArtifactsCache.java index ac093e98fb..cfec1d9922 100644 --- a/maven-core/src/main/java/org/apache/maven/project/artifact/ProjectArtifactsCache.java +++ b/maven-core/src/main/java/org/apache/maven/project/artifact/ProjectArtifactsCache.java @@ -46,20 +46,20 @@ public interface ProjectArtifactsCache // marker interface for cache keys } - static class CacheRecord + class CacheRecord { public final Set artifacts; public final LifecycleExecutionException exception; - public CacheRecord( Set artifacts ) + CacheRecord( Set artifacts ) { this.artifacts = artifacts; this.exception = null; } - public CacheRecord( LifecycleExecutionException exception ) + CacheRecord( LifecycleExecutionException exception ) { this.artifacts = null; this.exception = exception; diff --git a/maven-core/src/main/java/org/apache/maven/toolchain/java/JavaToolchainImpl.java b/maven-core/src/main/java/org/apache/maven/toolchain/java/JavaToolchainImpl.java index 4a09ee0626..d047e7e04f 100644 --- a/maven-core/src/main/java/org/apache/maven/toolchain/java/JavaToolchainImpl.java +++ b/maven-core/src/main/java/org/apache/maven/toolchain/java/JavaToolchainImpl.java @@ -41,7 +41,7 @@ class JavaToolchainImpl public static final String KEY_JAVAHOME = "jdkHome"; //NOI18N - public JavaToolchainImpl( ToolchainModel model, Logger logger ) + JavaToolchainImpl( ToolchainModel model, Logger logger ) { super( model, "jdk", logger ); } diff --git a/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java b/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java index 977f174934..77ef1342b9 100644 --- a/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java +++ b/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java @@ -1684,7 +1684,7 @@ public class MavenCli @SuppressWarnings( "checkstyle:visibilitymodifier" ) public int exitCode; - public ExitException( int exitCode ) + ExitException( int exitCode ) { this.exitCode = exitCode; } diff --git a/maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jConfiguration.java b/maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jConfiguration.java index 5f4b64d37a..f64f3303e7 100644 --- a/maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jConfiguration.java +++ b/maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jConfiguration.java @@ -28,7 +28,7 @@ package org.apache.maven.cli.logging; */ public interface Slf4jConfiguration { - public static enum Level + enum Level { DEBUG, INFO, ERROR } diff --git a/maven-embedder/src/main/java/org/apache/maven/cli/transfer/AbstractMavenTransferListener.java b/maven-embedder/src/main/java/org/apache/maven/cli/transfer/AbstractMavenTransferListener.java index 2b13879330..c33e8a2d6c 100644 --- a/maven-embedder/src/main/java/org/apache/maven/cli/transfer/AbstractMavenTransferListener.java +++ b/maven-embedder/src/main/java/org/apache/maven/cli/transfer/AbstractMavenTransferListener.java @@ -49,7 +49,7 @@ public abstract class AbstractMavenTransferListener // TODO Move me to Maven Shared Utils static class FileSizeFormat { - static enum ScaleUnit + enum ScaleUnit { BYTE { @@ -137,7 +137,7 @@ public abstract class AbstractMavenTransferListener private DecimalFormat smallFormat; private DecimalFormat largeFormat; - public FileSizeFormat( Locale locale ) + FileSizeFormat( Locale locale ) { smallFormat = new DecimalFormat( "#0.0", new DecimalFormatSymbols( locale ) ); largeFormat = new DecimalFormat( "###0", new DecimalFormatSymbols( locale ) ); diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingEvent.java b/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingEvent.java index f72403b200..01d23ef3b6 100644 --- a/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingEvent.java +++ b/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingEvent.java @@ -36,7 +36,7 @@ class DefaultModelBuildingEvent private final ModelProblemCollector problems; - public DefaultModelBuildingEvent( Model model, ModelBuildingRequest request, ModelProblemCollector problems ) + DefaultModelBuildingEvent( Model model, ModelBuildingRequest request, ModelProblemCollector problems ) { this.model = model; this.request = request; diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingResult.java b/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingResult.java index 7bf45b5fbb..7c14063468 100644 --- a/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingResult.java +++ b/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingResult.java @@ -49,7 +49,7 @@ class DefaultModelBuildingResult private List problems; - public DefaultModelBuildingResult() + DefaultModelBuildingResult() { modelIds = new ArrayList<>(); rawModels = new HashMap<>(); diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblemCollector.java b/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblemCollector.java index 89d5cb2184..c06869a80d 100644 --- a/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblemCollector.java +++ b/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblemCollector.java @@ -51,7 +51,7 @@ class DefaultModelProblemCollector private Set severities = EnumSet.noneOf( ModelProblem.Severity.class ); - public DefaultModelProblemCollector( ModelBuildingResult result ) + DefaultModelProblemCollector( ModelBuildingResult result ) { this.result = result; this.problems = result.getProblems(); diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/building/FilterModelBuildingRequest.java b/maven-model-builder/src/main/java/org/apache/maven/model/building/FilterModelBuildingRequest.java index c5c2cbfa4d..a51126f280 100644 --- a/maven-model-builder/src/main/java/org/apache/maven/model/building/FilterModelBuildingRequest.java +++ b/maven-model-builder/src/main/java/org/apache/maven/model/building/FilterModelBuildingRequest.java @@ -41,7 +41,7 @@ class FilterModelBuildingRequest protected ModelBuildingRequest request; - public FilterModelBuildingRequest( ModelBuildingRequest request ) + FilterModelBuildingRequest( ModelBuildingRequest request ) { this.request = request; } diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelData.java b/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelData.java index 4fefe0df11..b21dd0d455 100644 --- a/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelData.java +++ b/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelData.java @@ -51,7 +51,7 @@ class ModelData * * @param model The model to wrap, may be {@code null}. */ - public ModelData( ModelSource source, Model model ) + ModelData( ModelSource source, Model model ) { this.source = source; this.model = model; @@ -65,7 +65,7 @@ class ModelData * @param artifactId The effective artifact identifier of the model, may be {@code null}. * @param version The effective version of the model, may be {@code null}. */ - public ModelData( ModelSource source, Model model, String groupId, String artifactId, String version ) + ModelData( ModelSource source, Model model, String groupId, String artifactId, String version ) { this.source = source; this.model = model; diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/BuildTimestampValueSource.java b/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/BuildTimestampValueSource.java index 30809b853f..c7ca30592a 100644 --- a/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/BuildTimestampValueSource.java +++ b/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/BuildTimestampValueSource.java @@ -29,7 +29,7 @@ class BuildTimestampValueSource { private final MavenBuildTimestamp mavenBuildTimestamp; - public BuildTimestampValueSource( Date startTime, Properties properties ) + BuildTimestampValueSource( Date startTime, Properties properties ) { super( false ); this.mavenBuildTimestamp = new MavenBuildTimestamp( startTime, properties ); diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/PathTranslatingPostProcessor.java b/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/PathTranslatingPostProcessor.java index 1aeafddce5..c05b86aca3 100644 --- a/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/PathTranslatingPostProcessor.java +++ b/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/PathTranslatingPostProcessor.java @@ -39,7 +39,7 @@ class PathTranslatingPostProcessor private final PathTranslator pathTranslator; private final List expressionPrefixes; - public PathTranslatingPostProcessor( List expressionPrefixes, Collection unprefixedPathKeys, + PathTranslatingPostProcessor( List expressionPrefixes, Collection unprefixedPathKeys, File projectDir, PathTranslator pathTranslator ) { this.expressionPrefixes = expressionPrefixes; diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/ProblemDetectingValueSource.java b/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/ProblemDetectingValueSource.java index be5b227e88..4ed98d035d 100644 --- a/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/ProblemDetectingValueSource.java +++ b/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/ProblemDetectingValueSource.java @@ -44,7 +44,7 @@ class ProblemDetectingValueSource private final ModelProblemCollector problems; - public ProblemDetectingValueSource( ValueSource valueSource, String bannedPrefix, String newPrefix, + ProblemDetectingValueSource( ValueSource valueSource, String bannedPrefix, String newPrefix, ModelProblemCollector problems ) { this.valueSource = valueSource; diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringSearchModelInterpolator.java b/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringSearchModelInterpolator.java index ba077b2469..1d8ad042bb 100644 --- a/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringSearchModelInterpolator.java +++ b/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringSearchModelInterpolator.java @@ -106,10 +106,9 @@ public class StringSearchModelInterpolator private final ModelProblemCollector problems; - public InterpolateObjectAction( Object target, List valueSources, - List postProcessors, - StringSearchModelInterpolator modelInterpolator, - ModelProblemCollector problems ) + InterpolateObjectAction( Object target, List valueSources, + List postProcessors, + StringSearchModelInterpolator modelInterpolator, ModelProblemCollector problems ) { this.valueSources = valueSources; this.postProcessors = postProcessors; diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/UrlNormalizingPostProcessor.java b/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/UrlNormalizingPostProcessor.java index ec1b0ad8a7..14beeaccde 100644 --- a/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/UrlNormalizingPostProcessor.java +++ b/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/UrlNormalizingPostProcessor.java @@ -50,7 +50,7 @@ class UrlNormalizingPostProcessor private UrlNormalizer normalizer; - public UrlNormalizingPostProcessor( UrlNormalizer normalizer ) + UrlNormalizingPostProcessor( UrlNormalizer normalizer ) { this.normalizer = normalizer; } diff --git a/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelCache.java b/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelCache.java index f13495dfac..86edf16fff 100644 --- a/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelCache.java +++ b/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelCache.java @@ -77,7 +77,7 @@ class DefaultModelCache private final int hash; - public Key( String groupId, String artifactId, String version, String tag ) + Key( String groupId, String artifactId, String version, String tag ) { this.groupId = groupId; this.artifactId = artifactId; diff --git a/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java b/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java index 03a0d9b838..6818453469 100644 --- a/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java +++ b/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java @@ -78,9 +78,9 @@ class DefaultModelResolver private final Set repositoryIds; - public DefaultModelResolver( RepositorySystemSession session, RequestTrace trace, String context, - ArtifactResolver resolver, VersionRangeResolver versionRangeResolver, - RemoteRepositoryManager remoteRepositoryManager, List repositories ) + DefaultModelResolver( RepositorySystemSession session, RequestTrace trace, String context, + ArtifactResolver resolver, VersionRangeResolver versionRangeResolver, + RemoteRepositoryManager remoteRepositoryManager, List repositories ) { this.session = session; this.trace = trace; diff --git a/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java b/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java index 278964029a..c087bdf7b4 100644 --- a/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java +++ b/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java @@ -475,7 +475,7 @@ public class DefaultVersionResolver ArtifactRepository repository; - public VersionInfo( String timestamp, String version, ArtifactRepository repository ) + VersionInfo( String timestamp, String version, ArtifactRepository repository ) { this.timestamp = ( timestamp != null ) ? timestamp : ""; this.version = version; @@ -512,7 +512,7 @@ public class DefaultVersionResolver private final int hashCode; - public Key( RepositorySystemSession session, VersionRequest request ) + Key( RepositorySystemSession session, VersionRequest request ) { Artifact artifact = request.getArtifact(); groupId = artifact.getGroupId(); @@ -585,7 +585,7 @@ public class DefaultVersionResolver final Class repoClass; - public Record( String version, ArtifactRepository repository ) + Record( String version, ArtifactRepository repository ) { this.version = version; if ( repository != null ) diff --git a/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadata.java b/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadata.java index a5720109b1..ce09efdf4f 100644 --- a/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadata.java +++ b/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadata.java @@ -42,13 +42,13 @@ final class LocalSnapshotMetadata private final boolean legacyFormat; - public LocalSnapshotMetadata( Artifact artifact, boolean legacyFormat ) + LocalSnapshotMetadata( Artifact artifact, boolean legacyFormat ) { super( createMetadata( artifact, legacyFormat ), null ); this.legacyFormat = legacyFormat; } - public LocalSnapshotMetadata( Metadata metadata, File file, boolean legacyFormat ) + LocalSnapshotMetadata( Metadata metadata, File file, boolean legacyFormat ) { super( metadata, file ); this.legacyFormat = legacyFormat; diff --git a/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadataGenerator.java b/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadataGenerator.java index 072ba660e0..584e166606 100644 --- a/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadataGenerator.java +++ b/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadataGenerator.java @@ -42,7 +42,7 @@ class LocalSnapshotMetadataGenerator private final boolean legacyFormat; - public LocalSnapshotMetadataGenerator( RepositorySystemSession session, InstallRequest request ) + LocalSnapshotMetadataGenerator( RepositorySystemSession session, InstallRequest request ) { legacyFormat = ConfigUtils.getBoolean( session.getConfigProperties(), false, "maven.metadata.legacy" ); diff --git a/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RelocatedArtifact.java b/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RelocatedArtifact.java index c6ef3aa896..7c2d0ce9ea 100644 --- a/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RelocatedArtifact.java +++ b/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RelocatedArtifact.java @@ -41,7 +41,7 @@ final class RelocatedArtifact private final String version; - public RelocatedArtifact( Artifact artifact, String groupId, String artifactId, String version ) + RelocatedArtifact( Artifact artifact, String groupId, String artifactId, String version ) { this.artifact = Validate.notNull( artifact, "artifact cannot be null" ); // TODO Use StringUtils here diff --git a/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadata.java b/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadata.java index 1e791d8a42..efcfb4d5e8 100644 --- a/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadata.java +++ b/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadata.java @@ -47,7 +47,7 @@ final class RemoteSnapshotMetadata private final Map versions = new LinkedHashMap<>(); - public RemoteSnapshotMetadata( Artifact artifact, boolean legacyFormat ) + RemoteSnapshotMetadata( Artifact artifact, boolean legacyFormat ) { super( createRepositoryMetadata( artifact, legacyFormat ), null, legacyFormat ); } diff --git a/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataGenerator.java b/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataGenerator.java index 8258966205..32188636b3 100644 --- a/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataGenerator.java +++ b/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataGenerator.java @@ -42,7 +42,7 @@ class RemoteSnapshotMetadataGenerator private final boolean legacyFormat; - public RemoteSnapshotMetadataGenerator( RepositorySystemSession session, DeployRequest request ) + RemoteSnapshotMetadataGenerator( RepositorySystemSession session, DeployRequest request ) { legacyFormat = ConfigUtils.getBoolean( session.getConfigProperties(), false, "maven.metadata.legacy" ); diff --git a/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadata.java b/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadata.java index f5e13be199..f7df64ef7f 100644 --- a/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadata.java +++ b/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadata.java @@ -38,13 +38,13 @@ final class VersionsMetadata private final Artifact artifact; - public VersionsMetadata( Artifact artifact ) + VersionsMetadata( Artifact artifact ) { super( createRepositoryMetadata( artifact ), null ); this.artifact = artifact; } - public VersionsMetadata( Artifact artifact, File file ) + VersionsMetadata( Artifact artifact, File file ) { super( createRepositoryMetadata( artifact ), file ); this.artifact = artifact; diff --git a/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadataGenerator.java b/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadataGenerator.java index 5173001bbd..d6b5c8a41c 100644 --- a/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadataGenerator.java +++ b/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadataGenerator.java @@ -43,12 +43,12 @@ class VersionsMetadataGenerator private Map processedVersions; - public VersionsMetadataGenerator( RepositorySystemSession session, InstallRequest request ) + VersionsMetadataGenerator( RepositorySystemSession session, InstallRequest request ) { this( session, request.getMetadata() ); } - public VersionsMetadataGenerator( RepositorySystemSession session, DeployRequest request ) + VersionsMetadataGenerator( RepositorySystemSession session, DeployRequest request ) { this( session, request.getMetadata() ); } diff --git a/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuildingResult.java b/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuildingResult.java index 5c1392a626..187031e9f5 100644 --- a/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuildingResult.java +++ b/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuildingResult.java @@ -37,7 +37,7 @@ class DefaultSettingsBuildingResult private List problems; - public DefaultSettingsBuildingResult( Settings effectiveSettings, List problems ) + DefaultSettingsBuildingResult( Settings effectiveSettings, List problems ) { this.effectiveSettings = effectiveSettings; this.problems = ( problems != null ) ? problems : new ArrayList(); diff --git a/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsProblemCollector.java b/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsProblemCollector.java index 6721379b69..65c74c0ba1 100644 --- a/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsProblemCollector.java +++ b/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsProblemCollector.java @@ -37,7 +37,7 @@ class DefaultSettingsProblemCollector private String source; - public DefaultSettingsProblemCollector( List problems ) + DefaultSettingsProblemCollector( List problems ) { this.problems = ( problems != null ) ? problems : new ArrayList(); } diff --git a/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecryptionResult.java b/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecryptionResult.java index 33ee5a1af7..4458c61530 100644 --- a/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecryptionResult.java +++ b/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecryptionResult.java @@ -41,7 +41,7 @@ class DefaultSettingsDecryptionResult private List problems; - public DefaultSettingsDecryptionResult( List servers, List proxies, List problems ) + DefaultSettingsDecryptionResult( List servers, List proxies, List problems ) { this.servers = ( servers != null ) ? servers : new ArrayList(); this.proxies = ( proxies != null ) ? proxies : new ArrayList();