Skip to content
Snippets Groups Projects
Commit f79ff6c1 authored by Alexis Durgnat's avatar Alexis Durgnat :milky_way:
Browse files

Ca marche mieux

parent da5bcc40
Branches
No related tags found
1 merge request!21*poof* final version
......@@ -106,7 +106,7 @@ public class Stop implements Serializable {
String[] keys = new String[10];
datas.keySet().toArray(keys);
String type = keys[4];
JSONObject locationJSON = datas.isNull("type") ? new JSONObject() : datas.getJSONObject(type);
JSONObject locationJSON = datas.isNull("location") ? new JSONObject() : datas.getJSONObject("location");
Location.LocationBuilder location = new Location.LocationBuilder(locationJSON, type);
DateFormat formatter = new SimpleDateFormat("kk:mm:ss");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment