Add @Override on matching methods

This commit is contained in:
Robert Scholte 2015-01-24 20:43:42 +01:00
parent eea4252f5d
commit 786285f1f4
43 changed files with 147 additions and 0 deletions

View File

@ -28,6 +28,7 @@ public class AbstractModelBuildingListener
implements ModelBuildingListener
{
@Override
public void buildExtensionsAssembled( ModelBuildingEvent event )
{
// default does nothing

View File

@ -228,6 +228,7 @@ public class DefaultModelBuilder
return this;
}
@Override
public ModelBuildingResult build( ModelBuildingRequest request )
throws ModelBuildingException
{
@ -400,6 +401,7 @@ public class DefaultModelBuilder
return result;
}
@Override
public ModelBuildingResult build( ModelBuildingRequest request, ModelBuildingResult result )
throws ModelBuildingException
{

View File

@ -233,6 +233,7 @@ public class DefaultModelBuilderFactory
implements LifecycleBindingsInjector
{
@Override
public void injectLifecycleBindings( Model model, ModelBuildingRequest request, ModelProblemCollector problems )
{
}

View File

@ -43,16 +43,19 @@ class DefaultModelBuildingEvent
this.problems = problems;
}
@Override
public Model getModel()
{
return model;
}
@Override
public ModelBuildingRequest getRequest()
{
return request;
}
@Override
public ModelProblemCollector getProblems()
{
return problems;

View File

@ -97,11 +97,13 @@ public class DefaultModelBuildingRequest
setModelCache( request.getModelCache() );
}
@Override
public File getPomFile()
{
return pomFile;
}
@Override
public DefaultModelBuildingRequest setPomFile( File pomFile )
{
this.pomFile = ( pomFile != null ) ? pomFile.getAbsoluteFile() : null;
@ -109,6 +111,7 @@ public class DefaultModelBuildingRequest
return this;
}
@Override
public synchronized ModelSource getModelSource()
{
if ( modelSource == null && pomFile != null )
@ -118,6 +121,7 @@ public class DefaultModelBuildingRequest
return modelSource;
}
@Override
public DefaultModelBuildingRequest setModelSource( ModelSource modelSource )
{
this.modelSource = modelSource;
@ -125,11 +129,13 @@ public class DefaultModelBuildingRequest
return this;
}
@Override
public int getValidationLevel()
{
return validationLevel;
}
@Override
public DefaultModelBuildingRequest setValidationLevel( int validationLevel )
{
this.validationLevel = validationLevel;
@ -137,11 +143,13 @@ public class DefaultModelBuildingRequest
return this;
}
@Override
public boolean isProcessPlugins()
{
return processPlugins;
}
@Override
public DefaultModelBuildingRequest setProcessPlugins( boolean processPlugins )
{
this.processPlugins = processPlugins;
@ -149,11 +157,13 @@ public class DefaultModelBuildingRequest
return this;
}
@Override
public boolean isTwoPhaseBuilding()
{
return twoPhaseBuilding;
}
@Override
public DefaultModelBuildingRequest setTwoPhaseBuilding( boolean twoPhaseBuilding )
{
this.twoPhaseBuilding = twoPhaseBuilding;
@ -161,11 +171,13 @@ public class DefaultModelBuildingRequest
return this;
}
@Override
public boolean isLocationTracking()
{
return locationTracking;
}
@Override
public DefaultModelBuildingRequest setLocationTracking( boolean locationTracking )
{
this.locationTracking = locationTracking;
@ -173,6 +185,7 @@ public class DefaultModelBuildingRequest
return this;
}
@Override
public List<Profile> getProfiles()
{
if ( profiles == null )
@ -183,6 +196,7 @@ public class DefaultModelBuildingRequest
return profiles;
}
@Override
public DefaultModelBuildingRequest setProfiles( List<Profile> profiles )
{
if ( profiles != null )
@ -197,6 +211,7 @@ public class DefaultModelBuildingRequest
return this;
}
@Override
public List<String> getActiveProfileIds()
{
if ( activeProfileIds == null )
@ -207,6 +222,7 @@ public class DefaultModelBuildingRequest
return activeProfileIds;
}
@Override
public DefaultModelBuildingRequest setActiveProfileIds( List<String> activeProfileIds )
{
if ( activeProfileIds != null )
@ -221,6 +237,7 @@ public class DefaultModelBuildingRequest
return this;
}
@Override
public List<String> getInactiveProfileIds()
{
if ( inactiveProfileIds == null )
@ -231,6 +248,7 @@ public class DefaultModelBuildingRequest
return inactiveProfileIds;
}
@Override
public DefaultModelBuildingRequest setInactiveProfileIds( List<String> inactiveProfileIds )
{
if ( inactiveProfileIds != null )
@ -245,6 +263,7 @@ public class DefaultModelBuildingRequest
return this;
}
@Override
public Properties getSystemProperties()
{
if ( systemProperties == null )
@ -255,6 +274,7 @@ public class DefaultModelBuildingRequest
return systemProperties;
}
@Override
public DefaultModelBuildingRequest setSystemProperties( Properties systemProperties )
{
if ( systemProperties != null )
@ -270,6 +290,7 @@ public class DefaultModelBuildingRequest
return this;
}
@Override
public Properties getUserProperties()
{
if ( userProperties == null )
@ -280,6 +301,7 @@ public class DefaultModelBuildingRequest
return userProperties;
}
@Override
public DefaultModelBuildingRequest setUserProperties( Properties userProperties )
{
if ( userProperties != null )
@ -295,11 +317,13 @@ public class DefaultModelBuildingRequest
return this;
}
@Override
public Date getBuildStartTime()
{
return buildStartTime;
}
@Override
public ModelBuildingRequest setBuildStartTime( Date buildStartTime )
{
this.buildStartTime = buildStartTime;
@ -307,11 +331,13 @@ public class DefaultModelBuildingRequest
return this;
}
@Override
public ModelResolver getModelResolver()
{
return this.modelResolver;
}
@Override
public DefaultModelBuildingRequest setModelResolver( ModelResolver modelResolver )
{
this.modelResolver = modelResolver;
@ -319,11 +345,13 @@ public class DefaultModelBuildingRequest
return this;
}
@Override
public ModelBuildingListener getModelBuildingListener()
{
return modelBuildingListener;
}
@Override
public ModelBuildingRequest setModelBuildingListener( ModelBuildingListener modelBuildingListener )
{
this.modelBuildingListener = modelBuildingListener;
@ -331,11 +359,13 @@ public class DefaultModelBuildingRequest
return this;
}
@Override
public ModelCache getModelCache()
{
return this.modelCache;
}
@Override
public DefaultModelBuildingRequest setModelCache( ModelCache modelCache )
{
this.modelCache = modelCache;

View File

@ -57,6 +57,7 @@ class DefaultModelBuildingResult
problems = new ArrayList<ModelProblem>();
}
@Override
public Model getEffectiveModel()
{
return effectiveModel;
@ -69,6 +70,7 @@ class DefaultModelBuildingResult
return this;
}
@Override
public List<String> getModelIds()
{
return modelIds;
@ -86,11 +88,13 @@ class DefaultModelBuildingResult
return this;
}
@Override
public Model getRawModel()
{
return rawModels.get( modelIds.get( 0 ) );
}
@Override
public Model getRawModel( String modelId )
{
return rawModels.get( modelId );
@ -108,6 +112,7 @@ class DefaultModelBuildingResult
return this;
}
@Override
public List<Profile> getActivePomProfiles( String modelId )
{
return activePomProfiles.get( modelId );
@ -132,6 +137,7 @@ class DefaultModelBuildingResult
return this;
}
@Override
public List<Profile> getActiveExternalProfiles()
{
return activeExternalProfiles;
@ -151,6 +157,7 @@ class DefaultModelBuildingResult
return this;
}
@Override
public List<ModelProblem> getProblems()
{
return problems;

View File

@ -95,31 +95,37 @@ public class DefaultModelProblem
this.version = version;
}
@Override
public String getSource()
{
return source;
}
@Override
public int getLineNumber()
{
return lineNumber;
}
@Override
public int getColumnNumber()
{
return columnNumber;
}
@Override
public String getModelId()
{
return modelId;
}
@Override
public Exception getException()
{
return exception;
}
@Override
public String getMessage()
{
String msg;
@ -141,11 +147,13 @@ public class DefaultModelProblem
return msg;
}
@Override
public Severity getSeverity()
{
return severity;
}
@Override
public Version getVersion()
{
return version;

View File

@ -72,6 +72,7 @@ class DefaultModelProblemCollector
return severities.contains( ModelProblem.Severity.ERROR ) || severities.contains( ModelProblem.Severity.FATAL );
}
@Override
public List<ModelProblem> getProblems()
{
return problems;
@ -140,6 +141,7 @@ class DefaultModelProblemCollector
}
}
@Override
public void add( ModelProblemCollectorRequest req )
{
int line = -1;

View File

@ -54,23 +54,27 @@ public class DefaultModelProcessor
return this;
}
@Override
public File locatePom( File projectDirectory )
{
return locator.locatePom( projectDirectory );
}
@Override
public Model read( File input, Map<String, ?> options )
throws IOException
{
return reader.read( input, options );
}
@Override
public Model read( Reader input, Map<String, ?> options )
throws IOException
{
return reader.read( input, options );
}
@Override
public Model read( InputStream input, Map<String, ?> options )
throws IOException
{

View File

@ -44,11 +44,13 @@ class FilterModelBuildingRequest
this.request = request;
}
@Override
public File getPomFile()
{
return request.getPomFile();
}
@Override
public FilterModelBuildingRequest setPomFile( File pomFile )
{
request.setPomFile( pomFile );
@ -56,11 +58,13 @@ class FilterModelBuildingRequest
return this;
}
@Override
public ModelSource getModelSource()
{
return request.getModelSource();
}
@Override
public FilterModelBuildingRequest setModelSource( ModelSource modelSource )
{
request.setModelSource( modelSource );
@ -68,11 +72,13 @@ class FilterModelBuildingRequest
return this;
}
@Override
public int getValidationLevel()
{
return request.getValidationLevel();
}
@Override
public FilterModelBuildingRequest setValidationLevel( int validationLevel )
{
request.setValidationLevel( validationLevel );
@ -80,11 +86,13 @@ class FilterModelBuildingRequest
return this;
}
@Override
public boolean isProcessPlugins()
{
return request.isProcessPlugins();
}
@Override
public FilterModelBuildingRequest setProcessPlugins( boolean processPlugins )
{
request.setProcessPlugins( processPlugins );
@ -92,11 +100,13 @@ class FilterModelBuildingRequest
return this;
}
@Override
public boolean isTwoPhaseBuilding()
{
return request.isTwoPhaseBuilding();
}
@Override
public FilterModelBuildingRequest setTwoPhaseBuilding( boolean twoPhaseBuilding )
{
request.setTwoPhaseBuilding( twoPhaseBuilding );
@ -104,11 +114,13 @@ class FilterModelBuildingRequest
return this;
}
@Override
public boolean isLocationTracking()
{
return request.isLocationTracking();
}
@Override
public FilterModelBuildingRequest setLocationTracking( boolean locationTracking )
{
request.setLocationTracking( locationTracking );
@ -116,11 +128,13 @@ class FilterModelBuildingRequest
return this;
}
@Override
public List<Profile> getProfiles()
{
return request.getProfiles();
}
@Override
public FilterModelBuildingRequest setProfiles( List<Profile> profiles )
{
request.setProfiles( profiles );
@ -128,11 +142,13 @@ class FilterModelBuildingRequest
return this;
}
@Override
public List<String> getActiveProfileIds()
{
return request.getActiveProfileIds();
}
@Override
public FilterModelBuildingRequest setActiveProfileIds( List<String> activeProfileIds )
{
request.setActiveProfileIds( activeProfileIds );
@ -140,11 +156,13 @@ class FilterModelBuildingRequest
return this;
}
@Override
public List<String> getInactiveProfileIds()
{
return request.getInactiveProfileIds();
}
@Override
public FilterModelBuildingRequest setInactiveProfileIds( List<String> inactiveProfileIds )
{
request.setInactiveProfileIds( inactiveProfileIds );
@ -152,11 +170,13 @@ class FilterModelBuildingRequest
return this;
}
@Override
public Properties getSystemProperties()
{
return request.getSystemProperties();
}
@Override
public FilterModelBuildingRequest setSystemProperties( Properties systemProperties )
{
request.setSystemProperties( systemProperties );
@ -164,11 +184,13 @@ class FilterModelBuildingRequest
return this;
}
@Override
public Properties getUserProperties()
{
return request.getUserProperties();
}
@Override
public FilterModelBuildingRequest setUserProperties( Properties userProperties )
{
request.setUserProperties( userProperties );
@ -176,11 +198,13 @@ class FilterModelBuildingRequest
return this;
}
@Override
public Date getBuildStartTime()
{
return request.getBuildStartTime();
}
@Override
public ModelBuildingRequest setBuildStartTime( Date buildStartTime )
{
request.setBuildStartTime( buildStartTime );
@ -188,11 +212,13 @@ class FilterModelBuildingRequest
return this;
}
@Override
public ModelResolver getModelResolver()
{
return request.getModelResolver();
}
@Override
public FilterModelBuildingRequest setModelResolver( ModelResolver modelResolver )
{
request.setModelResolver( modelResolver );
@ -200,11 +226,13 @@ class FilterModelBuildingRequest
return this;
}
@Override
public ModelBuildingListener getModelBuildingListener()
{
return request.getModelBuildingListener();
}
@Override
public ModelBuildingRequest setModelBuildingListener( ModelBuildingListener modelBuildingListener )
{
request.setModelBuildingListener( modelBuildingListener );
@ -212,11 +240,13 @@ class FilterModelBuildingRequest
return this;
}
@Override
public ModelCache getModelCache()
{
return request.getModelCache();
}
@Override
public FilterModelBuildingRequest setModelCache( ModelCache modelCache )
{
request.setModelCache( modelCache );

View File

@ -38,6 +38,7 @@ interface ModelBuildingEventCatapult
ModelBuildingEventCatapult BUILD_EXTENSIONS_ASSEMBLED = new ModelBuildingEventCatapult()
{
@Override
public void fire( ModelBuildingListener listener, ModelBuildingEvent event )
{
listener.buildExtensionsAssembled( event );

View File

@ -70,22 +70,26 @@ interface ModelCacheTag<T>
ModelCacheTag<ModelData> RAW = new ModelCacheTag<ModelData>()
{
@Override
public String getName()
{
return "raw";
}
@Override
public Class<ModelData> getType()
{
return ModelData.class;
}
@Override
public ModelData intoCache( ModelData data )
{
Model model = ( data.getModel() != null ) ? data.getModel().clone() : null;
return new ModelData( data.getSource(), model, data.getGroupId(), data.getArtifactId(), data.getVersion() );
}
@Override
public ModelData fromCache( ModelData data )
{
return intoCache( data );
@ -99,21 +103,25 @@ interface ModelCacheTag<T>
ModelCacheTag<DependencyManagement> IMPORT = new ModelCacheTag<DependencyManagement>()
{
@Override
public String getName()
{
return "import";
}
@Override
public Class<DependencyManagement> getType()
{
return DependencyManagement.class;
}
@Override
public DependencyManagement intoCache( DependencyManagement data )
{
return ( data != null ) ? data.clone() : null;
}
@Override
public DependencyManagement fromCache( DependencyManagement data )
{
return intoCache( data );

View File

@ -41,6 +41,7 @@ public class DefaultDependencyManagementImporter
implements DependencyManagementImporter
{
@Override
public void importManagement( Model target, List<? extends DependencyManagement> sources,
ModelBuildingRequest request, ModelProblemCollector problems )
{

View File

@ -48,6 +48,7 @@ public class DefaultInheritanceAssembler
private InheritanceModelMerger merger = new InheritanceModelMerger();
@Override
public void assembleModelInheritance( Model child, Model parent, ModelBuildingRequest request,
ModelProblemCollector problems )
{

View File

@ -133,6 +133,7 @@ public abstract class AbstractStringBasedModelInterpolator
{
ValueSource basedirValueSource = new PrefixedValueSourceWrapper( new AbstractValueSource( false )
{
@Override
public Object getValue( String expression )
{
if ( "basedir".equals( expression ) )
@ -146,6 +147,7 @@ public abstract class AbstractStringBasedModelInterpolator
ValueSource baseUriValueSource = new PrefixedValueSourceWrapper( new AbstractValueSource( false )
{
@Override
public Object getValue( String expression )
{
if ( "baseUri".equals( expression ) )
@ -169,6 +171,7 @@ public abstract class AbstractStringBasedModelInterpolator
valueSources.add( new AbstractValueSource( false )
{
@Override
public Object getValue( String expression )
{
return config.getSystemProperties().getProperty( "env." + expression );

View File

@ -35,6 +35,7 @@ class BuildTimestampValueSource
this.mavenBuildTimestamp = new MavenBuildTimestamp( startTime, properties );
}
@Override
public Object getValue( String expression )
{
if ( "build.timestamp".equals( expression ) || "maven.build.timestamp".equals( expression ) )

View File

@ -48,6 +48,7 @@ class PathTranslatingPostProcessor
this.pathTranslator = pathTranslator;
}
@Override
public Object execute( String expression, Object value )
{
if ( value != null )

View File

@ -53,6 +53,7 @@ class ProblemDetectingValueSource
this.problems = problems;
}
@Override
public Object getValue( String expression )
{
Object value = valueSource.getValue( expression );
@ -70,12 +71,14 @@ class ProblemDetectingValueSource
return value;
}
@Override
@SuppressWarnings( "unchecked" )
public List getFeedback()
{
return valueSource.getFeedback();
}
@Override
public void clearFeedback()
{
valueSource.clearFeedback();

View File

@ -54,6 +54,7 @@ public class StringSearchModelInterpolator
// Empirical data from 3.x, actual =40
@Override
public Model interpolateModel( Model model, File projectDir, ModelBuildingRequest config,
ModelProblemCollector problems )
{
@ -82,6 +83,7 @@ public class StringSearchModelInterpolator
}
}
@Override
protected Interpolator createInterpolator()
{
StringSearchInterpolator interpolator = new StringSearchInterpolator();
@ -120,6 +122,7 @@ public class StringSearchModelInterpolator
this.problems = problems;
}
@Override
public Object run()
{
while ( !interpolationTargets.isEmpty() )

View File

@ -55,6 +55,7 @@ class UrlNormalizingPostProcessor
this.normalizer = normalizer;
}
@Override
public Object execute( String expression, Object value )
{
if ( value != null && URL_EXPRESSIONS.contains( expression ) )

View File

@ -45,6 +45,7 @@ public class DefaultModelReader
implements ModelReader
{
@Override
public Model read( File input, Map<String, ?> options )
throws IOException
{
@ -60,6 +61,7 @@ public class DefaultModelReader
return model;
}
@Override
public Model read( Reader input, Map<String, ?> options )
throws IOException
{
@ -78,6 +80,7 @@ public class DefaultModelReader
}
}
@Override
public Model read( InputStream input, Map<String, ?> options )
throws IOException
{

View File

@ -42,6 +42,7 @@ public class DefaultModelWriter
implements ModelWriter
{
@Override
public void write( File output, Map<String, Object> options, Model model )
throws IOException
{
@ -60,6 +61,7 @@ public class DefaultModelWriter
write( WriterFactory.newXmlWriter( output ), options, model );
}
@Override
public void write( Writer output, Map<String, Object> options, Model model )
throws IOException
{
@ -84,6 +86,7 @@ public class DefaultModelWriter
}
}
@Override
public void write( OutputStream output, Map<String, Object> options, Model model )
throws IOException
{

View File

@ -33,6 +33,7 @@ public class DefaultModelLocator
implements ModelLocator
{
@Override
public File locatePom( File projectDirectory )
{
return new File( projectDirectory, "pom.xml" );

View File

@ -45,6 +45,7 @@ public class DefaultDependencyManagementInjector
private ManagementModelMerger merger = new ManagementModelMerger();
@Override
public void injectManagement( Model model, ModelBuildingRequest request, ModelProblemCollector problems )
{
merger.mergeManagedDependencies( model );

View File

@ -48,6 +48,7 @@ public class DefaultPluginManagementInjector
private ManagementModelMerger merger = new ManagementModelMerger();
@Override
public void injectManagement( Model model, ModelBuildingRequest request, ModelProblemCollector problems )
{
merger.mergeManagedBuildPlugins( model );

View File

@ -314,6 +314,7 @@ public class MavenModelMerger
}
}
@Override
protected void mergeModelBase_PluginRepositories( ModelBase target, ModelBase source, boolean sourceDominant,
Map<Object, Object> context )
{

View File

@ -47,6 +47,7 @@ public class DefaultModelNormalizer
private DuplicateMerger merger = new DuplicateMerger();
@Override
public void mergeDuplicates( Model model, ModelBuildingRequest request, ModelProblemCollector problems )
{
Build build = model.getBuild();
@ -104,6 +105,7 @@ public class DefaultModelNormalizer
}
@Override
public void injectDefaultValues( Model model, ModelBuildingRequest request, ModelProblemCollector problems )
{
injectDependencyDefaults( model.getDependencies() );

View File

@ -50,6 +50,7 @@ public class DefaultModelPathTranslator
return this;
}
@Override
public void alignToBaseDirectory( Model model, File basedir, ModelBuildingRequest request )
{
if ( model == null || basedir == null )

View File

@ -47,6 +47,7 @@ public class DefaultModelUrlNormalizer
return this;
}
@Override
public void normalize( Model model, ModelBuildingRequest request )
{
if ( model == null )

View File

@ -33,6 +33,7 @@ public class DefaultPathTranslator
implements PathTranslator
{
@Override
public String alignToBaseDirectory( String path, File basedir )
{
String result = path;

View File

@ -31,6 +31,7 @@ public class DefaultUrlNormalizer
implements UrlNormalizer
{
@Override
public String normalize( String url )
{
String result = url;

View File

@ -41,6 +41,7 @@ public class DefaultPluginConfigurationExpander
implements PluginConfigurationExpander
{
@Override
public void expandPluginConfiguration( Model model, ModelBuildingRequest request, ModelProblemCollector problems )
{
Build build = model.getBuild();

View File

@ -38,6 +38,7 @@ public class DefaultReportConfigurationExpander
implements ReportConfigurationExpander
{
@Override
public void expandPluginConfiguration( Model model, ModelBuildingRequest request, ModelProblemCollector problems )
{
Reporting reporting = model.getReporting();

View File

@ -42,6 +42,7 @@ public class DefaultReportingConverter
implements ReportingConverter
{
@Override
public void convertReporting( Model model, ModelBuildingRequest request, ModelProblemCollector problems )
{
Reporting reporting = model.getReporting();

View File

@ -48,6 +48,7 @@ public class DefaultProfileActivationContext
private File projectDirectory;
@Override
public List<String> getActiveProfileIds()
{
return activeProfileIds;
@ -73,6 +74,7 @@ public class DefaultProfileActivationContext
return this;
}
@Override
public List<String> getInactiveProfileIds()
{
return inactiveProfileIds;
@ -98,6 +100,7 @@ public class DefaultProfileActivationContext
return this;
}
@Override
public Map<String, String> getSystemProperties()
{
return systemProperties;
@ -146,6 +149,7 @@ public class DefaultProfileActivationContext
return this;
}
@Override
public Map<String, String> getUserProperties()
{
return userProperties;
@ -196,6 +200,7 @@ public class DefaultProfileActivationContext
return this;
}
@Override
public File getProjectDirectory()
{
return projectDirectory;
@ -215,6 +220,7 @@ public class DefaultProfileActivationContext
return this;
}
@Override
public Map<String, String> getProjectProperties()
{
return projectProperties;

View File

@ -53,6 +53,7 @@ public class DefaultProfileInjector
private ProfileModelMerger merger = new ProfileModelMerger();
@Override
public void injectProfile( Model model, Profile profile, ModelBuildingRequest request,
ModelProblemCollector problems )
{

View File

@ -56,6 +56,7 @@ public class DefaultProfileSelector
return this;
}
@Override
public List<Profile> getActiveProfiles( Collection<Profile> profiles, ProfileActivationContext context,
ModelProblemCollector problems )
{

View File

@ -63,6 +63,7 @@ public class FileProfileActivator
return this;
}
@Override
public boolean isActive( Profile profile, ProfileActivationContext context, ModelProblemCollector problems )
{
Activation activation = profile.getActivation();
@ -105,6 +106,7 @@ public class FileProfileActivator
{
interpolator.addValueSource( new AbstractValueSource( false )
{
@Override
public Object getValue( String expression )
{
/*

View File

@ -43,6 +43,7 @@ public class JdkVersionProfileActivator
implements ProfileActivator
{
@Override
public boolean isActive( Profile profile, ProfileActivationContext context, ModelProblemCollector problems )
{
Activation activation = profile.getActivation();
@ -213,6 +214,7 @@ public class JdkVersionProfileActivator
this.closed = closed;
}
@Override
public String toString()
{
return value;

View File

@ -38,6 +38,7 @@ public class OperatingSystemProfileActivator
implements ProfileActivator
{
@Override
public boolean isActive( Profile profile, ProfileActivationContext context, ModelProblemCollector problems )
{
Activation activation = profile.getActivation();

View File

@ -41,6 +41,7 @@ public class PropertyProfileActivator
implements ProfileActivator
{
@Override
public boolean isActive( Profile profile, ProfileActivationContext context, ModelProblemCollector problems )
{
Activation activation = profile.getActivation();

View File

@ -53,6 +53,7 @@ public class DefaultSuperPomProvider
return this;
}
@Override
public Model getSuperModel( String version )
{
if ( superModel == null )

View File

@ -74,6 +74,7 @@ public class DefaultModelValidator
private static final String ILLEGAL_REPO_ID_CHARS = ILLEGAL_FS_CHARS;
@Override
public void validateRawModel( Model m, ModelBuildingRequest request, ModelProblemCollector problems )
{
Parent parent = m.getParent();
@ -286,6 +287,7 @@ public class DefaultModelValidator
}
}
@Override
public void validateEffectiveModel( Model m, ModelBuildingRequest request, ModelProblemCollector problems )
{
validateStringNotEmpty( "modelVersion", problems, Severity.ERROR, Version.BASE, m.getModelVersion(), m );