mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-17 01:31:01 +00:00
I have fixed a little bug.
This commit is contained in:
1 parent
7770532443
commit
ec20f8841d
4 files changed
+4
-9
No files matched your search
+1
-1
@@ -6,7 +6,7 @@ public class PathDTOsAndNotificationMessage implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = 3181973716884838685L;
|
||||
private PathDTO[] pathDTOs;
|
||||
private String notificationMessage;
|
||||
private String notificationMessage = "";
|
||||
|
||||
public PathDTO[] getPathDTOs() {
|
||||
return this.pathDTOs;
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ public class PolarDiagramDTOAndNotificationMessage implements Serializable {
|
||||
private static final long serialVersionUID = 7385409147081730741L;
|
||||
|
||||
private PolarDiagramDTO polarDiagramDTO;
|
||||
private String notificationMessage;
|
||||
private String notificationMessage = "";
|
||||
|
||||
public PolarDiagramDTO getPolarDiagramDTO() {
|
||||
return this.polarDiagramDTO;
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ public class SimulatorResultsDTOAndNotificationMessage implements Serializable {
|
||||
private static final long serialVersionUID = 6890477769867789622L;
|
||||
|
||||
private SimulatorResultsDTO simulatorResultsDTO;
|
||||
private String notificationMessage;
|
||||
private String notificationMessage = "";
|
||||
|
||||
public SimulatorResultsDTO getSimulatorResultsDTO() {
|
||||
return this.simulatorResultsDTO;
|
||||
|
||||
+1
-6
@@ -563,7 +563,6 @@ public class SimulatorMainPanel2 extends SplitLayoutPanel {
|
||||
hp.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_LEFT);
|
||||
hp.add(boatClassLabel);
|
||||
|
||||
System.out.println("XXX: Inainte de createSailingSetup/getBoatClasses");
|
||||
this.simulatorSvc.getBoatClasses(new AsyncCallback<BoatClassDTOsAndNotificationMessage>() {
|
||||
@Override
|
||||
public void onFailure(Throwable error) {
|
||||
@@ -572,9 +571,6 @@ public class SimulatorMainPanel2 extends SplitLayoutPanel {
|
||||
|
||||
@Override
|
||||
public void onSuccess(BoatClassDTOsAndNotificationMessage response) {
|
||||
|
||||
System.out.println("XXX: In createSailingSetup/getBoatClasses/onSuccess");
|
||||
|
||||
String notificationMessage = response.getNotificationMessage();
|
||||
if(notificationMessage != "" && notificationMessage.length() != 0 && warningAlreadyShown == false) {
|
||||
errorReporter.reportNotification(response.getNotificationMessage());
|
||||
@@ -587,8 +583,7 @@ public class SimulatorMainPanel2 extends SplitLayoutPanel {
|
||||
}
|
||||
}
|
||||
});
|
||||
System.out.println("XXX: Dupa de createSailingSetup/getBoatClasses");
|
||||
|
||||
|
||||
this.boatSelector.addChangeHandler(new ChangeHandler() {
|
||||
@Override
|
||||
public void onChange(ChangeEvent evnet) {
|
||||
|
||||
Reference in new issue
Block a user