PR: MNG-862

Submitted by: Rod Coffin
don't force a particular implementation of Map on configuration


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@321325 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-10-15 12:48:20 +00:00
parent 92de4af9fa
commit 238c28b0f6

View File

@ -35,6 +35,7 @@
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
/**
@ -157,7 +158,7 @@ public abstract class AbstractCompilerMojo
*
* @parameter
*/
private LinkedHashMap compilerArguments;
private Map compilerArguments;
/**
* Used to control the name of the output file when compiling a set of
@ -276,7 +277,8 @@ public void execute()
compilerConfiguration.setSourceEncoding( encoding );
compilerConfiguration.setCustomCompilerArguments( compilerArguments );
compilerConfiguration
.setCustomCompilerArguments( compilerArguments == null ? null : new LinkedHashMap( compilerArguments ) );
compilerConfiguration.setFork( fork );