mirror of
https://github.com/apache/maven.git
synced 2025-02-24 03:17:09 +00:00
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:
parent
92de4af9fa
commit
238c28b0f6
@ -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 );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user