Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

增加@override注解以及代码inline处理 #2760

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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