Skip to content
Snippets Groups Projects
Commit c9a5f369 authored by Kelly Kelly's avatar Kelly Kelly
Browse files

Addressed codacy issue

parent 5dcf4a94
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,8 @@ public static List<GeoTrackPoint> deserializePoints(String jsonString) {
return new ArrayList<>();
}
return (new Gson()).fromJson(jsonString, GeoTrackPoints.class).getTimeOrderedPoints();
GeoTrackPoints trackPoints = (new Gson()).fromJson(jsonString, GeoTrackPoints.class);
return trackPoints.getTimeOrderedPoints();
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment