Skip to content
This repository has been archived by the owner on Apr 8, 2022. It is now read-only.

Commit

Permalink
remove outdated getProcessedArgs call
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Oct 23, 2021
1 parent b974fa7 commit 1842030
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ private enum Action { START, STOP }
@Override
public void parseArgs(ScriptEntry scriptEntry) throws InvalidArgumentsException {

for (Argument arg : scriptEntry.getProcessedArgs()) {
for (Argument arg : scriptEntry) {

if (arg.matchesEnum(Action.values())
&& !scriptEntry.hasObject("action")) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,7 @@ public void run() {
try {
future.get();
}
catch (InterruptedException ex) {
Debug.echoError(ex);
}
catch (ExecutionException ex) {
catch (InterruptedException | ExecutionException ex) {
Debug.echoError(ex);
}

Expand Down

0 comments on commit 1842030

Please sign in to comment.