Skip to content

Commit

Permalink
Wicket 10.x bootstrap 5.x javadoc, enum final fields (#1022)
Browse files Browse the repository at this point in the history
* Remove unused imports, remove incorrect @author javadoc

* Make enum fields final

(cherry picked from commit 67bf5eb)
  • Loading branch information
vrozkovec authored and martin-g committed Dec 11, 2023
1 parent 51636e9 commit a6d691a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 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
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,12 @@

import java.util.Arrays;

import org.apache.wicket.Component;
import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.markup.html.image.ExternalImage;
import org.apache.wicket.markup.html.link.Link;
import org.apache.wicket.markup.html.list.ListItem;
import org.apache.wicket.markup.html.list.PropertyListView;
import org.apache.wicket.markup.html.panel.Panel;
import org.apache.wicket.model.IModel;
import org.apache.wicket.model.Model;

import de.agilecoders.wicket.core.markup.html.bootstrap.button.BootstrapButton;
import de.agilecoders.wicket.core.markup.html.bootstrap.button.Buttons;
import de.agilecoders.wicket.core.markup.html.bootstrap.panel.PanelType;

/**
* @author Jan Ferko
*/
public class PanelTypesPanel extends Panel {

public PanelTypesPanel(String id) {
Expand Down

0 comments on commit a6d691a

Please sign in to comment.