return !isEmpty(result) ? result : null;
}
@SuppressWarnings("unchecked")
private BaseRoute parseRoute(List<String> coordinates, NavigationPosition before, NavigationPosition after) {
BaseRoute route = new NavigatingPoiWarnerFormat().createRoute(Waypoints, null, new ArrayList<NavigationPosition>());
// count backwards as inserting at position 0
CompactCalendar time = after.getTime();
int positionInsertionCount = coordinates.size() / 5;
for (int i = coordinates.size() - 1; i > 0; i -= 5) {
String instructions = trim(coordinates.get(i));