Fix tests
This commit is contained in:
parent
e016264d2e
commit
e4da9fee63
1 changed files with 1 additions and 1 deletions
|
@ -473,7 +473,7 @@ public class AmenityMenuBuilder extends MenuBuilder {
|
|||
boolean osmEditingEnabled = OsmandPlugin.getEnabledPlugin(OsmEditingPlugin.class) != null;
|
||||
if (osmEditingEnabled && amenity.getId() != null
|
||||
&& amenity.getId() > 0 &&
|
||||
(amenity.getId() % 2 == 1 || (amenity.getId() >> 1) < 10*1000*1000*1000)) {
|
||||
(amenity.getId() % 2 == 1 || (amenity.getId() >> 1) < Integer.MAX_VALUE)) {
|
||||
String link;
|
||||
if (amenity.getId() % 2 == 0) {
|
||||
link = "http://www.openstreetmap.org/node/";
|
||||
|
|
Loading…
Reference in a new issue