mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
util: estimate IDE version for removing deprecated method (IDEA-CR-14320)
This commit is contained in:
+2
-2
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user