Skip to content

Commit

Permalink
增加@OverRide注解以及代码inline处理
Browse files Browse the repository at this point in the history
Signed-off-by: hecy7 <[email protected]>
  • Loading branch information
MiKKiYang committed Dec 11, 2023
1 parent 6a3bc66 commit e7f1a42
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ public ShellImpl(ShellServer server, Term term, InternalCommandManager commandMa
this.setPrompt();
}

@Override
public JobController jobController() {
return jobController;
}
Expand All @@ -127,8 +128,7 @@ public Set<Job> jobs() {

@Override
public synchronized Job createJob(List<CliToken> args) {
Job job = jobController.createJob(commandManager, args, session, new ShellJobHandler(this), term, null);
return job;
return jobController.createJob(commandManager, args, session, new ShellJobHandler(this), term, null);
}

@Override
Expand Down Expand Up @@ -203,6 +203,7 @@ public void readline() {
new CommandManagerCompletionHandler(commandManager));
}

@Override
public void close(String reason) {
if (term != null) {
try {
Expand Down

0 comments on commit e7f1a42

Please sign in to comment.