mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-08 21:30:57 +00:00
added default-scoped default constructor again for CompetitorDTO for GWT serialization
This commit is contained in:
1 parent
38b9981463
commit
4025453a83
2 files changed
+3
-1
No files matched your search
+2
@@ -10,6 +10,8 @@ public class CompetitorDTO extends NamedDTO implements IsSerializable {
|
||||
public String id;
|
||||
public BoatClassDTO boatClass;
|
||||
|
||||
CompetitorDTO() {}
|
||||
|
||||
public CompetitorDTO(String name, String twoLetterIsoCountryCode, String threeLetterIocCountryCode,
|
||||
String countryName, String sailID, String id, BoatClassDTO boatClass) {
|
||||
super(name);
|
||||
|
||||
+1
-1
@@ -703,7 +703,7 @@ public class RaceMap extends AbsolutePanel implements TimeListener, CompetitorSe
|
||||
LatLng[] advantageLinePoints = new LatLng[2];
|
||||
advantageLinePoints[0] = LatLng.newInstance(advantageLinePos1.getLatitude(), advantageLinePos1.getLongitude());
|
||||
advantageLinePoints[1] = LatLng.newInstance(advantageLinePos2.getLatitude(), advantageLinePos2.getLongitude());;
|
||||
if(advantageLine == null) {
|
||||
if (advantageLine == null) {
|
||||
PolylineOptions options = PolylineOptions.newInstance(/* clickable */false, /* geodesic */true);
|
||||
advantageLine = new Polyline(advantageLinePoints, /* color */ "#000000", /* width */ 1, /* opacity */0.5, options);
|
||||
advantageLine.addPolylineMouseOverHandler(new PolylineMouseOverHandler() {
|
||||
|
||||
Reference in new issue
Block a user