added default-scoped default constructor again for CompetitorDTO for GWT serialization

This commit is contained in:
Axel Uhl committed 2012-05-11 16:46:57 +02:00
1 parent 38b9981463
commit 4025453a83
2 files changed
+3 -1

No files matched your search

@@ -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);
@@ -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() {