From 0881c29273926a7d93ed4b6a4aa45e36369d129f Mon Sep 17 00:00:00 2001 From: Chumva Date: Wed, 21 Mar 2018 13:58:43 +0200 Subject: [PATCH] deleted unnecessary code --- OsmAnd-java/src/net/osmand/osm/AbstractPoiType.java | 3 --- OsmAnd/src/net/osmand/plus/AppInitializer.java | 1 - 2 files changed, 4 deletions(-) diff --git a/OsmAnd-java/src/net/osmand/osm/AbstractPoiType.java b/OsmAnd-java/src/net/osmand/osm/AbstractPoiType.java index e3372f551d..5a8d801d25 100644 --- a/OsmAnd-java/src/net/osmand/osm/AbstractPoiType.java +++ b/OsmAnd-java/src/net/osmand/osm/AbstractPoiType.java @@ -19,7 +19,6 @@ public abstract class AbstractPoiType { private String poiAdditionalCategory; private List excludedPoiAdditionalCategories; private String synonyms; - private String enSynonyms; private String enTranslation; private String translation; @@ -70,7 +69,6 @@ public abstract class AbstractPoiType { public String getTranslation() { - if(translation == null) { translation = registry.getTranslation(this); } @@ -85,7 +83,6 @@ public abstract class AbstractPoiType { } public String getEnTranslation() { - if(enTranslation == null) { enTranslation = registry.getEnTranslation(this); } diff --git a/OsmAnd/src/net/osmand/plus/AppInitializer.java b/OsmAnd/src/net/osmand/plus/AppInitializer.java index 38d5b61af2..6e697df970 100644 --- a/OsmAnd/src/net/osmand/plus/AppInitializer.java +++ b/OsmAnd/src/net/osmand/plus/AppInitializer.java @@ -352,7 +352,6 @@ public class AppInitializer implements IProgress { return app.getString(in); } } catch (Exception e) { - LOG.debug("No translation for " + keyName + " " + e.getMessage()); } return null; }