Skip to content

Commit

Permalink
Removed unnecessary super calls.
Browse files Browse the repository at this point in the history
  • Loading branch information
weisJ committed Apr 25, 2020
1 parent 430b454 commit 21780d9
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,6 @@ public void paint(final Graphics g, final JComponent c) {
* @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);
Expand Down Expand Up @@ -392,7 +391,6 @@ public int getBaseline(final JComponent c, final int width, final int height) {
* @since 1.6
*/
public Component.BaselineResizeBehavior getBaselineResizeBehavior(final JComponent c) {
super.getBaselineResizeBehavior(c);
return Component.BaselineResizeBehavior.CONSTANT_ASCENT;
}

Expand Down

0 comments on commit 21780d9

Please sign in to comment.