mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
remove redundant cast
This commit is contained in:
+1
-1
@@ -52,7 +52,7 @@ public class DarculaEditorTextFieldBorder implements Border {
|
||||
}
|
||||
|
||||
if (textField.isEnabled() && textField.isVisible() && textField.getFocusTarget().hasFocus()) {
|
||||
DarculaUIUtil.paintFocusRing((Graphics2D)g, x1, y1, width1, height1);
|
||||
DarculaUIUtil.paintFocusRing(g, x1, y1, width1, height1);
|
||||
} else {
|
||||
g.setColor(new JBColor(Gray._150, Gray._100));
|
||||
g.drawRect(x1, y1, width1, height1);
|
||||
|
||||
Reference in New Issue
Block a user