Browse Source

Removed unnecessary super calls.

pull/154/head
weisj 5 years ago
parent
commit
21780d96db
  1. 2
      core/src/main/java/com/github/weisj/darklaf/ui/list/DarkListUIBridge.java

2
core/src/main/java/com/github/weisj/darklaf/ui/list/DarkListUIBridge.java

@ -353,7 +353,6 @@ public class DarkListUIBridge extends BasicListUI {
* @since 1.6
*/
public int getBaseline(final JComponent c, final int width, final int height) {
super.getBaseline(c, width, height);
int rowHeight = list.getFixedCellHeight();
UIDefaults lafDefaults = UIManager.getLookAndFeelDefaults();
Component renderer = (Component) lafDefaults.get(BASELINE_COMPONENT_KEY);
@ -392,7 +391,6 @@ public class DarkListUIBridge extends BasicListUI {
* @since 1.6
*/
public Component.BaselineResizeBehavior getBaselineResizeBehavior(final JComponent c) {
super.getBaselineResizeBehavior(c);
return Component.BaselineResizeBehavior.CONSTANT_ASCENT;
}

Loading…
Cancel
Save