From ef4984f3ee9c80775b0f03ba5b847ebb8905b23d Mon Sep 17 00:00:00 2001 From: Kseniia Date: Wed, 14 Apr 2021 15:46:11 +0300 Subject: [PATCH] fix case sensitivity for wiki links,9708 --- OsmAnd/src/net/osmand/plus/wikipedia/WikiArticleHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/wikipedia/WikiArticleHelper.java b/OsmAnd/src/net/osmand/plus/wikipedia/WikiArticleHelper.java index 02f31efe8e..b21ca8527b 100644 --- a/OsmAnd/src/net/osmand/plus/wikipedia/WikiArticleHelper.java +++ b/OsmAnd/src/net/osmand/plus/wikipedia/WikiArticleHelper.java @@ -142,7 +142,7 @@ public class WikiArticleHelper { public boolean publish(Amenity amenity) { List allNames = amenity.getAllNames(false); for (String amenityName : allNames) { - if (name.equalsIgnoreCase(amenityName)) { + if (name.equals(amenityName)) { results.add(amenity); break; }