mirror of
https://github.com/apache/maven.git
synced 2025-03-08 17:49:15 +00:00
Cleanup of unused methods.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769953 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
612db0a8af
commit
01f79cf31a
@ -26,10 +26,6 @@
|
||||
public interface Processor
|
||||
{
|
||||
void process( Object parent, Object child, Object target, boolean isChildMostSpecialized );
|
||||
|
||||
Object getParent();
|
||||
|
||||
Object getChild();
|
||||
|
||||
List<Model> getParentModels();
|
||||
|
||||
|
@ -48,7 +48,7 @@ public Model interpolateModel( Model model, Properties properties, File projectD
|
||||
|
||||
if(properties == null)
|
||||
{
|
||||
return model;
|
||||
properties = new Properties();
|
||||
}
|
||||
|
||||
List<InterpolatorProperty> interpolatorProperties = new ArrayList<InterpolatorProperty>();
|
||||
|
@ -35,10 +35,6 @@
|
||||
public abstract class BaseProcessor implements Processor
|
||||
{
|
||||
|
||||
Object parent;
|
||||
|
||||
Object child;
|
||||
|
||||
Collection<Processor> processors;
|
||||
|
||||
private List<Model> parentModels;
|
||||
@ -75,8 +71,6 @@ public void process( Object parent, Object child, Object target, boolean isChild
|
||||
throw new IllegalArgumentException( "target: null" );
|
||||
}
|
||||
|
||||
this.parent = parent;
|
||||
this.child = child;
|
||||
if(parent instanceof Model)
|
||||
{
|
||||
parentModels.add( (Model) parent );
|
||||
@ -85,19 +79,8 @@ public void process( Object parent, Object child, Object target, boolean isChild
|
||||
{
|
||||
processor.process( parent, child, target, isChildMostSpecialized );
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public Object getChild()
|
||||
{
|
||||
return child;
|
||||
}
|
||||
|
||||
public Object getParent()
|
||||
{
|
||||
return parent;
|
||||
}
|
||||
|
||||
|
||||
protected String normalizeUriWithRelativePath(String u, String artifactId, Model parent)
|
||||
{
|
||||
if(u == null)
|
||||
|
Loading…
x
Reference in New Issue
Block a user