File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
src/main/java/com/flowingcode/addons/applayout Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ public abstract class AbstractFcAppRouterLayout extends Div implements RouterLay
3939
4040 private AppLayout app ;
4141
42- public AbstractFcAppRouterLayout () {
42+ protected AbstractFcAppRouterLayout () {
4343 getElement ().getStyle ().set ("width" , "100%" );
4444 getElement ().getStyle ().set ("height" , "100vh" );
4545 getElement ().getStyle ().set ("display" , "flex" );
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ public void setMenuItems(Component... menuitems) {
8989 }
9090
9191 public void clearMenuItems () {
92- drawer .setMenuItems (new ArrayList <MenuItem >());
92+ drawer .setMenuItems (new ArrayList <>());
9393 }
9494
9595 public void setToolbarIconButtons (Component ... components ) {
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ public Element getElement() {
6060 @ Override
6161 public int getComponentCount () {
6262 return (int ) getChildren ().count ();
63- };
63+ }
6464
6565 @ Override
6666 public Component getComponentAt (int index ) {
@@ -73,7 +73,7 @@ public Component getComponentAt(int index) {
7373 .orElseThrow (() -> new IllegalArgumentException (
7474 "The 'index' argument should not be greater than or equals to the number of children components. It was: "
7575 + index ));
76- };
76+ }
7777
7878 };
7979
You can’t perform that action at this time.
0 commit comments