mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-28 14:57:12 +00:00
Races list - Renamed utility method for "has wind sources"
This commit is contained in:
1 parent
e0e426acbd
commit
acb37841be
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -60,7 +60,7 @@ public class RaceListDataUtil {
|
||||
});
|
||||
}
|
||||
|
||||
public static <T extends RaceListRaceDTO> boolean hasWindFixes(Collection<T> data) {
|
||||
public static <T extends RaceListRaceDTO> boolean hasWindSources(Collection<T> data) {
|
||||
return hasNumberValues(data, new ValueProvider<T, Number>() {
|
||||
@Override
|
||||
public Number getValue(T object) {
|
||||
|
||||
+1
-1
@@ -232,7 +232,7 @@ public class RegattaRacesTabView extends Composite implements RegattaTabView<Reg
|
||||
boolean hasWind = RaceListDataUtil.hasWind(data);
|
||||
this.windSpeedColumn.setShowDetails(hasWind);
|
||||
this.windDirectionColumn.setShowDetails(hasWind);
|
||||
this.windfixesCountColumn.setShowDetails(RaceListDataUtil.hasWindFixes(data));
|
||||
this.windfixesCountColumn.setShowDetails(RaceListDataUtil.hasWindSources(data));
|
||||
this.videoCountColumn.setShowDetails(RaceListDataUtil.hasVideos(data));
|
||||
this.audioCountColumn.setShowDetails(RaceListDataUtil.hasAudios(data));
|
||||
setTableData(data);
|
||||
|
||||
Reference in new issue
Block a user