Skip to content

Commit

Permalink
ho-dev#2063 add 5 new countries to international flags module
Browse files Browse the repository at this point in the history
  • Loading branch information
wsbrenk committed May 5, 2024
1 parent 13dc635 commit 8b585e2
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/main/java/core/db/IfaMatchTable.java
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ void insertMatch(IfaMatch match) {
store(match);
}

@Override
protected String createSelectStatement(){
return createSelectStatement("");
}
// @Override
// protected String createSelectStatement(){
// return createSelectStatement("");
// }
void deleteAllMatches() {
executePreparedDelete();
}
Expand Down
5 changes: 5 additions & 0 deletions src/main/java/core/model/WorldDetailLeague.java
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,11 @@ public class WorldDetailLeague extends AbstractTable.Storable {
new WorldDetailLeague(163,191,"San Marino"),
new WorldDetailLeague(164,188,"Haiti"),
new WorldDetailLeague(165,190,"Puerto Rico"),
new WorldDetailLeague(166,194,"Grenada"),
new WorldDetailLeague(167,193,"Burkina Faso"),
new WorldDetailLeague(168,192,"Nepal"),
new WorldDetailLeague(169,197,"Guyana"),
new WorldDetailLeague(170,196,"Tahiti"),
new WorldDetailLeague(1000,1000,"International")
};

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/module/ifa/FlagPanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ void setHeaderVisible(boolean enable) {
}

private void createFlagLabels(boolean away, IfaModel ifaModel, FlagDisplayModel flagDisplayModel) {
this.flagLabels = new ArrayList<FlagLabel>();
this.flagLabels = new ArrayList<>();
WorldDetailsManager.instance().getLeagues().stream()
.filter(l->l.getLeagueId()!=APACHE_LEAGUE_ID)
.sorted((l1,l2)-> ObjectUtils.compare(l1.getCountryName(),l2.getCountryName()))
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/release_notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
HO now downloads the update in the browser when HO install is un-managed.
* Enable standard custom popup menu in oauth dialog's text fields (#1471)
* Move previous series download checkbox to the check box tree of download dialog (#1434)
* Add 5 new countries to international flag module (#2063)

## Translations

Expand Down

0 comments on commit 8b585e2

Please sign in to comment.