From d32678b6ee9d895fe7c683b0ee53f46116abcb82 Mon Sep 17 00:00:00 2001 From: Brett Leslie Porter Date: Thu, 22 Sep 2005 04:50:08 +0000 Subject: [PATCH] PR: MNG-870 correct method name git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290891 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/java/org/apache/maven/execution/MavenSession.java | 2 +- .../maven/plugin/PluginParameterExpressionEvaluatorTest.java | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java b/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java index 77dbad8bcb..eb17b6fce3 100644 --- a/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java +++ b/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java @@ -119,7 +119,7 @@ public class MavenSession public List getSortedProjects() { - return rpm.getProjectsSortedByDependency(); + return rpm.getSortedProjects(); } public String getExecutionRootDirectory() diff --git a/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java b/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java index 6f13f7f597..b464999c10 100644 --- a/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java +++ b/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java @@ -148,8 +148,7 @@ public class PluginParameterExpressionEvaluatorTest MojoExecution mojoExecution = new MojoExecution( mojo ); - return (ExpressionEvaluator) new PluginParameterExpressionEvaluator( session, mojoExecution, null, - container.getLogger(), project ); + return new PluginParameterExpressionEvaluator( session, mojoExecution, null, container.getLogger(), project ); } protected Artifact createArtifact( String groupId, String artifactId, String version )