GT-2949 - Scripting - removed old deprecated methods

This commit is contained in:
dragonmacher
2019-07-18 11:42:21 -04:00
parent f94e451d6b
commit d4bb3e945d
8 changed files with 101 additions and 149 deletions

View File

@@ -89,7 +89,8 @@ public class AskScript extends GhidraScript {
println("You typed: " + myStr + " and " + myOtherStr);
String choice = askChoice("Choice", "Please choose one",
new String[] { "grumpy", "dopey", "sleepy", "doc", "bashful" }, "bashful");
Arrays.asList(new String[] { "grumpy", "dopey", "sleepy", "doc", "bashful" }),
"bashful");
println("Choice? " + choice);
List<Integer> choices1 = askChoices("Choices 1", "Please choose one or more numbers.",