Skip to content

Commit

Permalink
Make enum fields final
Browse files Browse the repository at this point in the history
  • Loading branch information
vrozkovec committed Dec 11, 2023
1 parent e732f05 commit 4673b62
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ public enum PanelType
Transparent(BackgroundColorBehavior.Color.Transparent, ColorBehavior.Color.Body, null);


private BackgroundColorBehavior.Color backgroundColor;
private ColorBehavior.Color textColor;
private BorderBehavior.Color borderColor;
private final BackgroundColorBehavior.Color backgroundColor;
private final ColorBehavior.Color textColor;
private final BorderBehavior.Color borderColor;

private PanelType(BackgroundColorBehavior.Color backgroundColor, ColorBehavior.Color textColor, Color borderColor) {
this.backgroundColor = backgroundColor;
Expand Down

0 comments on commit 4673b62

Please sign in to comment.