Skip to content

Commit

Permalink
[#1175] partial prepare for bumping JLine version to 3.16.0: fix comp…
Browse files Browse the repository at this point in the history
…iler errors

* remove @OverRide for methods execute and commandDescription(String), which were removed from the org.jline.console.CommandRegistry interface
  • Loading branch information
remkop committed Sep 17, 2020
1 parent f75d892 commit 39a8940
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ public List<String> commandInfo(String command) {
return out;
}

@Override
// @Override This method was removed in JLine 3.16.0; keep it in case this component is used with an older version of JLine
public Object execute(CommandRegistry.CommandSession session, String command, String[] args) throws Exception {
List<String> arguments = new ArrayList<>();
arguments.add(command);
Expand All @@ -209,7 +209,7 @@ public Map<String, String> commandAliases() {
return aliasCommand;
}

@Override
// @Override This method was removed in JLine 3.16.0; keep it in case this component is used with an older version of JLine
public CmdDesc commandDescription(String command) {
return null;
}
Expand Down

0 comments on commit 39a8940

Please sign in to comment.