diff --git a/maven-core/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java b/maven-core/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java index 46038ebf0b..22a812a623 100644 --- a/maven-core/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java +++ b/maven-core/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java @@ -38,12 +38,9 @@ import org.apache.maven.model.Build; import org.apache.maven.model.DomainModel; import org.apache.maven.model.Model; import org.apache.maven.model.ModelEventListener; -import org.apache.maven.model.DomainModel; import org.apache.maven.model.ProcessorContext; import org.apache.maven.model.Profile; import org.apache.maven.model.interpolator.Interpolator; -import org.apache.maven.model.interpolator.InterpolatorProperty; -import org.apache.maven.model.interpolator.PomInterpolatorTag; import org.apache.maven.model.io.xpp3.MavenXpp3Reader; import org.apache.maven.profiles.DefaultProfileManager; import org.apache.maven.profiles.ProfileActivationException; diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/interpolator/InterpolatorProperty.java b/maven-model-builder/src/main/java/org/apache/maven/model/interpolator/InterpolatorProperty.java index f82197f68c..bedf9be2d2 100644 --- a/maven-model-builder/src/main/java/org/apache/maven/model/interpolator/InterpolatorProperty.java +++ b/maven-model-builder/src/main/java/org/apache/maven/model/interpolator/InterpolatorProperty.java @@ -24,7 +24,7 @@ import java.util.*; /** * Provides interpolator property information. */ -public final class InterpolatorProperty +final class InterpolatorProperty { /** * The key (or name) of the property diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/interpolator/PomInterpolatorTag.java b/maven-model-builder/src/main/java/org/apache/maven/model/interpolator/PomInterpolatorTag.java index 57b0c8f2bc..fbb2221ced 100644 --- a/maven-model-builder/src/main/java/org/apache/maven/model/interpolator/PomInterpolatorTag.java +++ b/maven-model-builder/src/main/java/org/apache/maven/model/interpolator/PomInterpolatorTag.java @@ -1,6 +1,6 @@ package org.apache.maven.model.interpolator; -public enum PomInterpolatorTag +enum PomInterpolatorTag { PROJECT_PROPERTIES, diff --git a/maven-model-builder/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java b/maven-model-builder/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java index 34134466af..456750386d 100644 --- a/maven-model-builder/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java +++ b/maven-model-builder/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java @@ -22,7 +22,6 @@ package org.apache.maven.profiles; import org.apache.maven.model.Activation; import org.apache.maven.model.Model; import org.apache.maven.model.Profile; -import org.apache.maven.model.interpolator.InterpolatorProperty; import org.apache.maven.model.interpolator.PomInterpolatorTag; import org.apache.maven.profiles.ProfileActivationContext; import org.apache.maven.profiles.ProfileActivationException;