mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-15 08:41:01 +00:00
Fixed field naming
This commit is contained in:
1 parent
7ef5ef8ca0
commit
7427cebdba
3 files changed
+7
-7
No files matched your search
+1
-1
@@ -87,7 +87,7 @@ public class EventTeaser extends Composite {
|
||||
|
||||
final StringBuilder thumbnailUrlBuilder = new StringBuilder("url('");
|
||||
|
||||
final String thumbnailImageUrl = event.getLogoImageURL();
|
||||
final String thumbnailImageUrl = event.getThumbnailImageURL();
|
||||
if (thumbnailImageUrl == null || thumbnailImageUrl.isEmpty()) {
|
||||
thumbnailUrlBuilder.append(EventTeaserResources.INSTANCE.defaultEventPhotoImage().getSafeUri().asString());
|
||||
} else {
|
||||
|
||||
+1
-1
@@ -5692,6 +5692,6 @@ public class SailingServiceImpl extends ProxiedRemoteServiceServlet implements S
|
||||
dto.setEndDate(event.getEndDate().asDate());
|
||||
dto.setState(calculateEventState(event.isPublic(), dto.getStartDate(), dto.getEndDate()));
|
||||
dto.setVenue(event.getVenue().getName());
|
||||
dto.setLogoImageURL(SailingServiceUtil.findEventThumbnailImageUrlAsString(event));
|
||||
dto.setThumbnailImageURL(SailingServiceUtil.findEventThumbnailImageUrlAsString(event));
|
||||
}
|
||||
}
|
||||
+5
-5
@@ -12,7 +12,7 @@ public class EventMetadataDTO extends EventReferenceDTO {
|
||||
private String venueCountry;
|
||||
private Date startDate;
|
||||
private Date endDate;
|
||||
private String logoImageURL;
|
||||
private String thumbnailImageURL;
|
||||
|
||||
public EventState getState() {
|
||||
return state;
|
||||
@@ -62,12 +62,12 @@ public class EventMetadataDTO extends EventReferenceDTO {
|
||||
this.endDate = endDate;
|
||||
}
|
||||
|
||||
public String getLogoImageURL() {
|
||||
return logoImageURL;
|
||||
public String getThumbnailImageURL() {
|
||||
return thumbnailImageURL;
|
||||
}
|
||||
|
||||
public void setLogoImageURL(String logoImageURL) {
|
||||
this.logoImageURL = logoImageURL;
|
||||
public void setThumbnailImageURL(String thumbnailImageURL) {
|
||||
this.thumbnailImageURL = thumbnailImageURL;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user