notnull, @Override

This commit is contained in:
Alexey Kudravtsev
2017-08-09 17:53:13 +03:00
parent c7998e1754
commit b48c06bbe8
94 changed files with 181 additions and 150 deletions

View File

@@ -103,7 +103,7 @@ public class IpnbConvertToPythonAction extends AnAction {
final KillableColoredProcessHandler processHandler = new KillableColoredProcessHandler(commandLine);
processHandler.addProcessListener(new ProcessAdapter() {
@Override
public void processTerminated(ProcessEvent event) {
public void processTerminated(@NotNull ProcessEvent event) {
VfsUtil.markDirtyAndRefresh(true, false, true, virtualFile.getParent());
}
});

View File

@@ -127,7 +127,7 @@ public class IpnbCommandLineState extends PythonCommandLineState {
processHandler.addProcessListener(new ProcessAdapter() {
@Override
public void onTextAvailable(ProcessEvent event, Key outputType) {
public void onTextAvailable(@NotNull ProcessEvent event, @NotNull Key outputType) {
@NonNls final String text = event.getText();
if (text.toLowerCase().contains("active kernels")) {
serverStarted.set(true);