Skip to content

Commit

Permalink
Remove unnecessary initialization for updatingMonthBox.
Browse files Browse the repository at this point in the history
The boolean variable updatingMonthBox no longer requires explicit initialization to false as it defaults to that value. This change simplifies the code by removing redundant initialization.
  • Loading branch information
leewyatt committed Sep 5, 2024
1 parent 292faed commit a598225
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class YearMonthViewSkin extends SkinBase<YearMonthView> {
private static final PseudoClass CURRENT_MONTH_PSEUDO_CLASS = PseudoClass.getPseudoClass("current");

private final ObjectProperty<Integer> year = new SimpleObjectProperty<>(this, "year");
private boolean updatingMonthBox = false;
private boolean updatingMonthBox;

public YearMonthViewSkin(YearMonthView control) {
super(control);
Expand Down

0 comments on commit a598225

Please sign in to comment.