mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Restore backwards binary compatibility for CodeStyleSettings API
See IDEA-184812
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user