From 82a33b4e56091a0ebb5d65d781776d66cffb9cdc Mon Sep 17 00:00:00 2001 From: "Ilya.Kazakevich" Date: Wed, 22 Jun 2016 03:29:05 +0300 Subject: [PATCH] Nullable method declared nullable --- .../com/intellij/execution/runners/DefaultProgramRunner.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platform/lang-impl/src/com/intellij/execution/runners/DefaultProgramRunner.java b/platform/lang-impl/src/com/intellij/execution/runners/DefaultProgramRunner.java index f4cae36d1ffe..2c05390a0d10 100644 --- a/platform/lang-impl/src/com/intellij/execution/runners/DefaultProgramRunner.java +++ b/platform/lang-impl/src/com/intellij/execution/runners/DefaultProgramRunner.java @@ -22,11 +22,13 @@ import com.intellij.execution.configurations.RunProfileState; import com.intellij.execution.ui.RunContentDescriptor; import com.intellij.openapi.fileEditor.FileDocumentManager; import org.jetbrains.annotations.NotNull; +import org.jetbrains.annotations.Nullable; /** * @author spleaner */ public abstract class DefaultProgramRunner extends GenericProgramRunner { + @Nullable @Override protected RunContentDescriptor doExecute(@NotNull RunProfileState state, @NotNull ExecutionEnvironment env) throws ExecutionException { FileDocumentManager.getInstance().saveAllDocuments();