ARTEMIS-1195: change filters datatype to LinkedHashMap on cli create

This commit is contained in:
老袁 2017-05-30 15:59:46 +08:00 committed by Clebert Suconic
parent 91979980d9
commit 6da035bafa
1 changed files with 2 additions and 1 deletions

View File

@ -30,6 +30,7 @@ import java.io.StringWriter;
import java.nio.charset.StandardCharsets;
import java.text.DecimalFormat;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
@ -483,7 +484,7 @@ public class Create extends InputAbstract {
context.out.println(String.format("Creating ActiveMQ Artemis instance at: %s", directory.getCanonicalPath()));
HashMap<String, String> filters = new HashMap<>();
HashMap<String, String> filters = new LinkedHashMap<>();
filters.put("${master-slave}", isSlave() ? "slave" : "master");