Skip to content
This repository was archived by the owner on Sep 14, 2019. It is now read-only.

Commit b73ca89

Browse files
committed
change arraylist to array
Alex decided to use arrays to store the stuff
1 parent 0366cc4 commit b73ca89

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • Robot2018/src/org/usfirst/frc/team199/Robot2018/commands

Robot2018/src/org/usfirst/frc/team199/Robot2018/commands/RunScript.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
public class RunScript extends CommandGroup implements RunScriptInterface {
1616

1717
public RunScript(String scriptName) {
18-
ArrayList<String> script = Robot.autoScripts.getOrDefault(scriptName, new ArrayList<String>());
18+
String[] script = Robot.autoScripts.getOrDefault(scriptName, new String[0]);
1919

2020
outerloop:
2121
for(String cmd : script) {

0 commit comments

Comments
 (0)