Restore backwards binary compatibility for CodeStyleSettings API

See IDEA-184812
This commit is contained in:
Rustam Vishnyakov
2018-01-12 14:58:35 +03:00
parent 4562d532f9
commit 9ad9d9e828
2 changed files with 5 additions and 3 deletions
@@ -35,8 +35,6 @@ import java.util.*;
import java.util.regex.Pattern;
import java.util.regex.PatternSyntaxException;
import static com.intellij.psi.codeStyle.CommonCodeStyleSettings.IndentOptions;
/**
* <p>
* A container for global, language and custom code style settings and indent options. Global options are default options for multiple
@@ -24,7 +24,7 @@ import com.intellij.psi.PsiFile;
* @see LanguageCodeStyleSettingsProvider
*/
@Deprecated
public class LegacyCodeStyleSettings {
public class LegacyCodeStyleSettings extends CommonCodeStyleSettings {
/**
* @deprecated Use {@link CommonCodeStyleSettings#DO_NOT_WRAP}
*/
@@ -279,4 +279,8 @@ public class LegacyCodeStyleSettings {
* @deprecated See {@link LegacyCodeStyleSettings}
*/
@Deprecated public int CLASS_BRACE_STYLE = CommonCodeStyleSettings.END_OF_LINE;
public LegacyCodeStyleSettings() {
super(null);
}
}