From 91f0a7f5676b3ec5dc86ab5ae887dd48d9377d36 Mon Sep 17 00:00:00 2001 From: Sergey Simonchik Date: Tue, 18 Oct 2016 15:24:10 +0300 Subject: [PATCH] util: estimate IDE version for removing deprecated method (IDEA-CR-14320) --- .../intellij/execution/configurations/GeneralCommandLine.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/platform-api/src/com/intellij/execution/configurations/GeneralCommandLine.java b/platform/platform-api/src/com/intellij/execution/configurations/GeneralCommandLine.java index 41eb901a1a41..cffa472ff73b 100644 --- a/platform/platform-api/src/com/intellij/execution/configurations/GeneralCommandLine.java +++ b/platform/platform-api/src/com/intellij/execution/configurations/GeneralCommandLine.java @@ -180,12 +180,12 @@ public class GeneralCommandLine implements UserDataHolder { return myParentEnvironmentType != ParentEnvironmentType.NONE; } - /** @deprecated use {@link #withParentEnvironmentType(ParentEnvironmentType)} */ + /** @deprecated use {@link #withParentEnvironmentType(ParentEnvironmentType)} (to be removed in IDEA 2017.*) */ public GeneralCommandLine withPassParentEnvironment(boolean passParentEnvironment) { return withParentEnvironmentType(passParentEnvironment ? ParentEnvironmentType.CONSOLE : ParentEnvironmentType.NONE); } - /** @deprecated use {@link #withParentEnvironmentType(ParentEnvironmentType)} */ + /** @deprecated use {@link #withParentEnvironmentType(ParentEnvironmentType)} (to be removed in IDEA 2017.*) */ public void setPassParentEnvironment(boolean passParentEnvironment) { withParentEnvironmentType(passParentEnvironment ? ParentEnvironmentType.CONSOLE : ParentEnvironmentType.NONE); }