mirror of https://github.com/apache/maven.git
o Added generics
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@764943 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c236be0b5a
commit
2bc43b618a
|
@ -22,7 +22,6 @@ package org.apache.maven.cli;
|
|||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import java.util.Properties;
|
||||
import java.util.StringTokenizer;
|
||||
|
@ -78,7 +77,7 @@ public final class CLIRequestUtils
|
|||
//
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
List goals = commandLine.getArgList();
|
||||
List<String> goals = commandLine.getArgList();
|
||||
|
||||
boolean recursive = true;
|
||||
|
||||
|
@ -140,9 +139,9 @@ public final class CLIRequestUtils
|
|||
// Profile Activation
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
List activeProfiles = new ArrayList();
|
||||
List<String> activeProfiles = new ArrayList<String>();
|
||||
|
||||
List inactiveProfiles = new ArrayList();
|
||||
List<String> inactiveProfiles = new ArrayList<String>();
|
||||
|
||||
if ( commandLine.hasOption( CLIManager.ACTIVATE_PROFILES ) )
|
||||
{
|
||||
|
@ -275,10 +274,8 @@ public final class CLIRequestUtils
|
|||
try
|
||||
{
|
||||
Properties envVars = CommandLineUtils.getSystemEnvVars();
|
||||
Iterator i = envVars.entrySet().iterator();
|
||||
while ( i.hasNext() )
|
||||
for ( Entry<Object, Object> e : envVars.entrySet() )
|
||||
{
|
||||
Entry e = (Entry) i.next();
|
||||
executionProperties.setProperty( "env." + e.getKey().toString(), e.getValue().toString() );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue