Merge branch 'bug4371_2' of ssh://trac@sapsailing.com/home/trac/git into bug4371_2

This commit is contained in:
Kai Boernert committed 2017-12-19 14:25:14 +01:00
commit 3b75519e20
2 files changed
+10 -6

No files matched your search

@@ -72,8 +72,4 @@ class AbstractDataImportResponse extends JavaScriptObject {
}
}
protected final native <T> T[] array(String fieldName) /*-{
return this[fieldName];
}-*/;
}
@@ -45,13 +45,21 @@ public class ExpeditionDataImportResponse extends AbstractDataImportResponse {
}-*/;
public final List<String> getGpsDeviceIds() {
return asList(array("gpsDeviceIds"));
return asList(gpsDeviceIds());
}
private final native String[] gpsDeviceIds() /*-{
return this.gpsDeviceIds;
}-*/;
public final List<String> getSensorDeviceIds() {
return asList(array("sensorDeviceIds"));
return asList(sensorDeviceIds());
}
private final native String[] sensorDeviceIds() /*-{
return this.sensorDeviceIds;
}-*/;
public final native String getSensorFixImporterType() /*-{
return this.sensorFixImporterType;
}-*/;