util: estimate IDE version for removing deprecated method (IDEA-CR-14320)
authorSergey Simonchik <sergey.simonchik@jetbrains.com>
Tue, 18 Oct 2016 12:24:10 +0000 (15:24 +0300)
committerSergey Simonchik <sergey.simonchik@jetbrains.com>
Tue, 18 Oct 2016 12:24:10 +0000 (15:24 +0300)
platform/platform-api/src/com/intellij/execution/configurations/GeneralCommandLine.java

index 41eb901a1a413b5130ea291a17259785ce200de3..cffa472ff73b1c86c505e1bc655f98e37b4f0a7b 100644 (file)
@@ -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);
   }