Browse Source

remove useless code

master
GAM 4 years ago
parent
commit
df95979109
1 changed files with 0 additions and 12 deletions
  1. +0
    -12
      src/main/java/app/views/match/components/MatchComponent.java

+ 0
- 12
src/main/java/app/views/match/components/MatchComponent.java View File

@ -37,8 +37,6 @@ public class MatchComponent extends Div implements ContentConfigurable {
private final FlexLayout gamesLayout = new FlexLayout();
private final VerticalLayout noGamesLayout = new VerticalLayout();
private final FlexLayout editMatchLayout = new FlexLayout();
private final EditMatchCard editMatchCard;
private Match match;
@ -63,16 +61,9 @@ public class MatchComponent extends Div implements ContentConfigurable {
private void defineLayout() {
add(headerLayout);
defineEditMatchLayout();
defineHeaderLayout();
defineGamesLayout();
defineNoGamesLayout();
defineEditLayout();
}
private void defineEditMatchLayout() {
editMatchLayout.add(editMatchCard);
editMatchLayout.setJustifyContentMode(FlexComponent.JustifyContentMode.CENTER);
}
private void defineNoGamesLayout() {
@ -108,9 +99,6 @@ public class MatchComponent extends Div implements ContentConfigurable {
gamesLayout.setJustifyContentMode(FlexComponent.JustifyContentMode.CENTER);
}
private void defineEditLayout() {
}
/////////////
// CONTENT //
/////////////


Loading…
Cancel
Save