mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-15 08:41:01 +00:00
fix for null pointer parsing
This commit is contained in:
1 parent
c167eb2b97
commit
dd430aa056
1 file changed
+2
-1
+2
-1
@@ -13,7 +13,8 @@ public class ExpeditionDataImportResponse extends AbstractDataImportResponse {
|
||||
}
|
||||
|
||||
public final UUID getEventId() {
|
||||
return UUID.fromString(getString("eventId"));
|
||||
String eventId = getString("eventId");
|
||||
return eventId == null ? null : UUID.fromString(eventId);
|
||||
}
|
||||
|
||||
public final native String getLeaderboardGroupName() /*-{
|
||||
|
||||
Reference in new issue
Block a user