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:
Britton Isbell 2009-04-29 21:46:24 +00:00
parent 612db0a8af
commit 01f79cf31a
3 changed files with 2 additions and 23 deletions

View File

@ -26,10 +26,6 @@ import org.apache.maven.model.Model;
public interface Processor
{
void process( Object parent, Object child, Object target, boolean isChildMostSpecialized );
Object getParent();
Object getChild();
List<Model> getParentModels();

View File

@ -48,7 +48,7 @@ public class DefaultInterpolator
if(properties == null)
{
return model;
properties = new Properties();
}
List<InterpolatorProperty> interpolatorProperties = new ArrayList<InterpolatorProperty>();

View File

@ -35,10 +35,6 @@ import org.apache.maven.model.Processor;
public abstract class BaseProcessor implements Processor
{
Object parent;
Object child;
Collection<Processor> processors;
private List<Model> parentModels;
@ -75,8 +71,6 @@ public abstract class BaseProcessor implements Processor
throw new IllegalArgumentException( "target: null" );
}
this.parent = parent;
this.child = child;
if(parent instanceof Model)
{
parentModels.add( (Model) parent );
@ -85,19 +79,8 @@ public abstract class BaseProcessor implements Processor
{
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)