浏览代码

Tests: Make ScriptBuilder use a LinkedHashMap to preserve file orde

kindlich 4 年前
父节点
当前提交
cfbaaf9f9b
找不到此签名对应的密钥

+ 1
- 1
ScriptingExample/src/test/java/org/openzen/zenscript/scriptingexample/tests/helpers/ScriptBuilder.java 查看文件

9
     private String currentScriptName;
9
     private String currentScriptName;
10
     
10
     
11
     private ScriptBuilder() {
11
     private ScriptBuilder() {
12
-        scriptNameToScript = new HashMap<>();
12
+        scriptNameToScript = new LinkedHashMap<>();
13
         startNewScript();
13
         startNewScript();
14
     }
14
     }
15
     
15
     

正在加载...
取消
保存