o formatting

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163209 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2004-10-23 23:49:55 +00:00
parent 46e1c4632b
commit 2fe3bf7830
1 changed files with 5 additions and 5 deletions

View File

@ -38,16 +38,16 @@ public class DependencyResolutionPhase
throws GoalExecutionException
{
boolean requiresDependencies = false;
for ( Iterator iterator = context.getResolvedGoals().iterator(); iterator.hasNext(); )
{
String goalName = (String) iterator.next();
MojoDescriptor mojoDescriptor = context.getMojoDescriptor(goalName);
MojoDescriptor mojoDescriptor = context.getMojoDescriptor( goalName );
if ( mojoDescriptor.requiresDependencyResolution() )
{
requiresDependencies = true;
try
{
resolveTransitiveDependencies( context );
@ -60,8 +60,8 @@ public class DependencyResolutionPhase
break;
}
}
context.requiresDependencies(requiresDependencies);
context.requiresDependencies( requiresDependencies );
}
private void resolveTransitiveDependencies( MavenGoalExecutionContext context )