Introduce , support

This commit is contained in:
Victor Shcherb 2014-07-13 16:10:22 +02:00
parent 2a4ef6becb
commit cd33cb59f2

View file

@ -345,7 +345,7 @@ public class NavigatePointFragment extends SherlockFragment implements SearchAct
* in one of the valid formats.
*/
public static double convert(String coordinate) {
coordinate = coordinate.replace(' ', ':').replace('#', ':');
coordinate = coordinate.replace(' ', ':').replace('#', ':').replace(',', '.');
if (coordinate == null) {
throw new NullPointerException("coordinate");
}