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); }