From 4e0896c825a945b87d60a31dc04cacdc8ffd90bd Mon Sep 17 00:00:00 2001 From: Benjamin Bentmann Date: Thu, 30 Jul 2009 17:13:40 +0000 Subject: [PATCH] o Removed dead code git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@799373 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/maven/project/MavenProject.java | 20 ------------------- 1 file changed, 20 deletions(-) diff --git a/maven-core/src/main/java/org/apache/maven/project/MavenProject.java b/maven-core/src/main/java/org/apache/maven/project/MavenProject.java index df86ad90aa..c967eab1f5 100644 --- a/maven-core/src/main/java/org/apache/maven/project/MavenProject.java +++ b/maven-core/src/main/java/org/apache/maven/project/MavenProject.java @@ -31,7 +31,6 @@ import java.util.List; import java.util.Map; import java.util.Properties; import java.util.Set; -import java.util.Stack; import org.apache.maven.artifact.Artifact; import org.apache.maven.artifact.ArtifactUtils; @@ -156,8 +155,6 @@ public class MavenProject private Map moduleAdjustments; - private Stack previousExecutionProjects = new Stack(); - private ProjectBuilder mavenProjectBuilder; private ProjectBuildingRequest projectBuilderConfiguration; @@ -1479,11 +1476,6 @@ public class MavenProject public void setExecutionProject( MavenProject executionProject ) { - if ( this.executionProject != null ) - { - previousExecutionProjects.push( this.executionProject ); - } - this.executionProject = executionProject; } @@ -1656,18 +1648,6 @@ public class MavenProject { return getBuild() != null ? getBuild().getDefaultGoal() : null; } - - public void clearExecutionProject() - { - if ( !previousExecutionProjects.isEmpty() ) - { - executionProject = (MavenProject) previousExecutionProjects.pop(); - } - else - { - executionProject = null; - } - } public Plugin getPlugin( String pluginKey ) {