Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2016-03-09 14:56:35 +01:00
commit 861fdd1748
2 changed files with 10 additions and 10 deletions

View file

@ -76,7 +76,7 @@ public class BinaryInspector {
// "-vstats", // "-vstats",
// "/Users/victorshcherb/osmand/maps/Synthetic_test_rendering.obf" // "/Users/victorshcherb/osmand/maps/Synthetic_test_rendering.obf"
// "/Users/victorshcherb/osmand/maps/Netherlands_europe_2.road.obf" // "/Users/victorshcherb/osmand/maps/Netherlands_europe_2.road.obf"
"/Users/victorshcherb/osmand/maps/Map.obf" "/Users/victorshcherb/osmand/maps/C_11_03_06.obf"
}); });
} else { } else {
in.inspector(args); in.inspector(args);

View file

@ -68,13 +68,13 @@ public class OsmAndFormatter {
} }
//Miles exceptions //Miles exceptions
//FIXME (conversions missing) //FIXME (conversions missing)
if (mc == MetricsConstants.MILES_AND_FOOTS && point == 1 / metersInSecondUnit && roundDist == 2000) { // if (mc == MetricsConstants.MILES_AND_FOOTS && point == 1 / metersInSecondUnit && roundDist == 2000) {
roundDist = 0.5f; // roundDist = 0.5f;
} else if (mc == MetricsConstants.MILES_AND_YARDS && point == 1 / metersInSecondUnit && roundDist == 1000) { // } else if (mc == MetricsConstants.MILES_AND_YARDS && point == 1 / metersInSecondUnit && roundDist == 1000) {
roundDist = 0.5f; // roundDist = 0.5f;
} else if (mc == MetricsConstants.MILES_AND_YARDS && point == 1 / metersInSecondUnit && roundDist == 500) { // } else if (mc == MetricsConstants.MILES_AND_YARDS && point == 1 / metersInSecondUnit && roundDist == 500) {
roundDist = 0.25f; // roundDist = 0.25f;
} // }
return roundDist; return roundDist;
} }