瀏覽代碼

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,7 +9,7 @@ public class ScriptBuilder {
9 9
     private String currentScriptName;
10 10
     
11 11
     private ScriptBuilder() {
12
-        scriptNameToScript = new HashMap<>();
12
+        scriptNameToScript = new LinkedHashMap<>();
13 13
         startNewScript();
14 14
     }
15 15
     

Loading…
取消
儲存