mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
cleanup
This commit is contained in:
@@ -61,7 +61,7 @@ public abstract class AbstractLightClass extends LightElement implements PsiClas
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasModifierProperty(@Modifier @NonNls @NotNull String name) {
|
||||
public boolean hasModifierProperty(@NonNls @NotNull String name) {
|
||||
return getDelegate().hasModifierProperty(name);
|
||||
}
|
||||
|
||||
|
||||
@@ -86,7 +86,7 @@ public class TextPainter implements Printable {
|
||||
myPlainFont = new Font(fontName, Font.PLAIN, fontSize);
|
||||
myBoldFont = new Font(fontName, Font.BOLD, fontSize);
|
||||
myItalicFont = new Font(fontName, Font.ITALIC, fontSize);
|
||||
myBoldItalicFont = new Font(fontName, Font.BOLD + Font.ITALIC, fontSize);
|
||||
myBoldItalicFont = new Font(fontName, Font.BOLD | Font.ITALIC, fontSize);
|
||||
myHighlighter = highlighter;
|
||||
myHeaderFont = new Font(myPrintSettings.FOOTER_HEADER_FONT_NAME, Font.PLAIN,
|
||||
myPrintSettings.FOOTER_HEADER_FONT_SIZE);
|
||||
|
||||
+2
-2
@@ -212,7 +212,7 @@ public abstract class AbstractColorsScheme implements EditorColorsScheme {
|
||||
|
||||
Font boldFont = new Font(editorFontName, Font.BOLD, editorFontSize);
|
||||
Font italicFont = new Font(editorFontName, Font.ITALIC, editorFontSize);
|
||||
Font boldItalicFont = new Font(editorFontName, Font.BOLD + Font.ITALIC, editorFontSize);
|
||||
Font boldItalicFont = new Font(editorFontName, Font.BOLD | Font.ITALIC, editorFontSize);
|
||||
|
||||
myFonts.put(EditorFontType.PLAIN, plainFont);
|
||||
myFonts.put(EditorFontType.BOLD, boldFont);
|
||||
@@ -225,7 +225,7 @@ public abstract class AbstractColorsScheme implements EditorColorsScheme {
|
||||
Font consolePlainFont = new Font(consoleFontName, Font.PLAIN, consoleFontSize);
|
||||
Font consoleBoldFont = new Font(consoleFontName, Font.BOLD, consoleFontSize);
|
||||
Font consoleItalicFont = new Font(consoleFontName, Font.ITALIC, consoleFontSize);
|
||||
Font consoleBoldItalicFont = new Font(consoleFontName, Font.BOLD + Font.ITALIC, consoleFontSize);
|
||||
Font consoleBoldItalicFont = new Font(consoleFontName, Font.BOLD | Font.ITALIC, consoleFontSize);
|
||||
|
||||
myFonts.put(EditorFontType.CONSOLE_PLAIN, consolePlainFont);
|
||||
myFonts.put(EditorFontType.CONSOLE_BOLD, consoleBoldFont);
|
||||
|
||||
@@ -260,7 +260,7 @@ public abstract class TestColumnInfo extends ColumnInfo implements Comparator {
|
||||
}
|
||||
if (passed > 0) {
|
||||
final Color color = suiteState.isPassed() ? TestsUIUtil.PASSED_COLOR : Color.BLACK;
|
||||
myCounters.append(separator + ExecutionBundle.message("junit.runing.info.passed.count.message", passed), new SimpleTextAttributes(Font.BOLD, color));
|
||||
myCounters.append(separator + ExecutionBundle.message("junit.runing.info.passed.count.message", passed), new SimpleTextAttributes(SimpleTextAttributes.STYLE_BOLD, color));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -271,7 +271,7 @@ public abstract class TestColumnInfo extends ColumnInfo implements Comparator {
|
||||
}
|
||||
else if (state.isPassed()) {
|
||||
myCounters
|
||||
.append(ExecutionBundle.message("junit.runing.info.passed.label"), new SimpleTextAttributes(Font.BOLD, TestsUIUtil.PASSED_COLOR));
|
||||
.append(ExecutionBundle.message("junit.runing.info.passed.label"), new SimpleTextAttributes(SimpleTextAttributes.STYLE_BOLD, TestsUIUtil.PASSED_COLOR));
|
||||
}
|
||||
else if (state.getMagnitude() == PoolOfTestStates.ERROR_INDEX) {
|
||||
myCounters.append(ExecutionBundle.message("junit.runing.info.error.tree.node"), DEFECT_ATTRIBUTE);
|
||||
|
||||
Reference in New Issue
Block a user