From 21780d96db7737ed72c6f3289eb4fe68619b43f7 Mon Sep 17 00:00:00 2001 From: weisj Date: Sat, 25 Apr 2020 16:44:58 +0200 Subject: [PATCH] Removed unnecessary super calls. --- .../java/com/github/weisj/darklaf/ui/list/DarkListUIBridge.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/src/main/java/com/github/weisj/darklaf/ui/list/DarkListUIBridge.java b/core/src/main/java/com/github/weisj/darklaf/ui/list/DarkListUIBridge.java index 39d4f2ed..3397820e 100644 --- a/core/src/main/java/com/github/weisj/darklaf/ui/list/DarkListUIBridge.java +++ b/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; }