From 549f20e85f2d1b6b433c546a5e6f4d51416f748e Mon Sep 17 00:00:00 2001 From: Vladimir Krivosheev Date: Thu, 13 Dec 2018 12:36:39 +0100 Subject: [PATCH] =?UTF-8?q?LazyRunConfigurationProducer=20=E2=80=94=20pyth?= =?UTF-8?q?on=20(flask)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../execution/junit/JavaRunConfigurationProducerBase.java | 6 +++++- .../execution/actions/RunConfigurationProducer.java | 4 ++++ .../python/run/AbstractServerPythonRunConfiguration.java | 6 ++---- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/java/execution/impl/src/com/intellij/execution/junit/JavaRunConfigurationProducerBase.java b/java/execution/impl/src/com/intellij/execution/junit/JavaRunConfigurationProducerBase.java index 0c8efd1af65d..1803a99441d0 100644 --- a/java/execution/impl/src/com/intellij/execution/junit/JavaRunConfigurationProducerBase.java +++ b/java/execution/impl/src/com/intellij/execution/junit/JavaRunConfigurationProducerBase.java @@ -19,6 +19,10 @@ import org.jetbrains.annotations.Nullable; * @author yole */ public abstract class JavaRunConfigurationProducerBase extends RunConfigurationProducer { + /** + * @deprecated Override {@link #getConfigurationFactory()}. + */ + @Deprecated protected JavaRunConfigurationProducerBase(ConfigurationFactory configurationFactory) { super(configurationFactory); } @@ -28,7 +32,7 @@ public abstract class JavaRunConfigurationProducerBase { private final ConfigurationFactory myConfigurationFactory; + /** + * @deprecated Use {@link LazyRunConfigurationProducer}. + */ + @Deprecated protected RunConfigurationProducer(@NotNull ConfigurationFactory configurationFactory) { myConfigurationFactory = configurationFactory; } diff --git a/python/src/com/jetbrains/python/run/AbstractServerPythonRunConfiguration.java b/python/src/com/jetbrains/python/run/AbstractServerPythonRunConfiguration.java index 4d459946702c..ceb5d27b8936 100644 --- a/python/src/com/jetbrains/python/run/AbstractServerPythonRunConfiguration.java +++ b/python/src/com/jetbrains/python/run/AbstractServerPythonRunConfiguration.java @@ -1,6 +1,4 @@ -/* - * Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. - */ +// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.jetbrains.python.run; import com.intellij.execution.configurations.ConfigurationFactory; @@ -19,7 +17,7 @@ abstract public class AbstractServerPythonRunConfiguration