mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-17 01:31:01 +00:00
use parseStrict instead of parseLenient since with GWT 2.8.2 parseStrict is deprecated
Change-Id: Ia2fd866c8845156e725ae96564a26fee04bdd160
This commit is contained in:
1 parent
6c2124653d
commit
414a87f5ff
1 file changed
+1
-1
+1
-1
@@ -64,7 +64,7 @@ public class RectField implements VectorField {
|
||||
}
|
||||
|
||||
public static RectField read(String jsonData, boolean correctForSphere, StreamletParameters parameters, CoordinateSystem coordinateSystem) {
|
||||
JSONObject data = JSONParser.parseLenient(jsonData).isObject();
|
||||
JSONObject data = JSONParser.parseStrict(jsonData).isObject();
|
||||
int w = (int) data.get("gridWidth").isNumber().doubleValue();
|
||||
int h = (int) data.get("gridHeight").isNumber().doubleValue();
|
||||
Vector[][] field = new Vector[w][h];
|
||||
|
||||
Reference in new issue
Block a user