remove deprecated CompilerWorkspaceConfiguration#COMPILER_PROCESS_HEAP_SIZE and related compatibility logic

The code existed from 2015, and it seems that it's enough time passed.

GitOrigin-RevId: d96b0d34ce84a66c98407509beb6657326d72123
This commit is contained in:
Daniil Ovchinnikov
2020-10-05 18:24:41 +03:00
committed by intellij-monorepo-bot
parent bb231ac627
commit 43fc9ab7cb
2 changed files with 1 additions and 11 deletions

View File

@@ -740,11 +740,6 @@ public class CompilerConfigurationImpl extends CompilerConfiguration implements
break;
}
}
if (myState.BUILD_PROCESS_HEAP_SIZE == DEFAULT_BUILD_PROCESS_HEAP_SIZE) {
final CompilerWorkspaceConfiguration workspace = CompilerWorkspaceConfiguration.getInstance(myProject);
// older version compatibility: as a fallback load this setting from workspace
myState.BUILD_PROCESS_HEAP_SIZE = workspace.COMPILER_PROCESS_HEAP_SIZE;
}
}
final Element notNullAssertions = parentNode.getChild(JpsJavaCompilerConfigurationSerializer.ADD_NOTNULL_ASSERTIONS);

View File

@@ -1,4 +1,4 @@
// 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.
// Copyright 2000-2020 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.
/*
* @author Eugene Zhuravlev
@@ -28,11 +28,6 @@ public class CompilerWorkspaceConfiguration implements PersistentStateComponent<
public boolean CLEAR_OUTPUT_DIRECTORY = true;
public boolean MAKE_PROJECT_ON_SAVE = false; // until we fix problems with several open projects (IDEA-104064), daemon slowness (IDEA-104666)
public boolean PARALLEL_COMPILATION = false;
/**
* @deprecated. Use corresponding value from CompilerConfiguration
* This field is left here for compatibility with older projects
*/
public int COMPILER_PROCESS_HEAP_SIZE = 700;
public String COMPILER_PROCESS_ADDITIONAL_VM_OPTIONS = "";
public boolean REBUILD_ON_DEPENDENCY_CHANGE = true;
public boolean COMPILE_AFFECTED_UNLOADED_MODULES_BEFORE_COMMIT = true;