run configuration: add @NotNull
authorSergey Simonchik <sergey.simonchik@jetbrains.com>
Wed, 23 Sep 2015 10:54:00 +0000 (13:54 +0300)
committerSergey Simonchik <sergey.simonchik@jetbrains.com>
Wed, 23 Sep 2015 10:54:00 +0000 (13:54 +0300)
platform/lang-api/src/com/intellij/execution/configurations/ConfigurationFactory.java

index c68753877e876d49634a2bf58969ccba1c8faef9..a3b3ef55d7e195ab1263e0759f6ad9edba3b48f1 100644 (file)
@@ -68,9 +68,11 @@ public abstract class ConfigurationFactory {
    * @param project the project in which the run configuration will be used
    * @return the run configuration instance.
    */
-  public abstract RunConfiguration createTemplateConfiguration(Project project);
+  @NotNull
+  public abstract RunConfiguration createTemplateConfiguration(@NotNull Project project);
 
-  public RunConfiguration createTemplateConfiguration(Project project, RunManager runManager) {
+  @NotNull
+  public RunConfiguration createTemplateConfiguration(@NotNull Project project, @NotNull RunManager runManager) {
     return createTemplateConfiguration(project);
   }