From 6d50e400c77261c9da440775bbefa4e13104f9a5 Mon Sep 17 00:00:00 2001 From: PaulStets Date: Thu, 9 Aug 2018 10:47:54 +0300 Subject: [PATCH] Formatting fixes --- OsmAnd/src/net/osmand/plus/AppInitializer.java | 1 - .../src/net/osmand/plus/helpers/FileNameTranslationHelper.java | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/AppInitializer.java b/OsmAnd/src/net/osmand/plus/AppInitializer.java index a655b6b60e..8c84c0d85d 100644 --- a/OsmAnd/src/net/osmand/plus/AppInitializer.java +++ b/OsmAnd/src/net/osmand/plus/AppInitializer.java @@ -16,7 +16,6 @@ import android.support.v7.app.AlertDialog; import net.osmand.IProgress; import net.osmand.IndexConstants; import net.osmand.PlatformUtil; -import net.osmand.StateChangedListener; import net.osmand.aidl.OsmandAidlApi; import net.osmand.map.OsmandRegions; import net.osmand.map.OsmandRegions.RegionTranslation; diff --git a/OsmAnd/src/net/osmand/plus/helpers/FileNameTranslationHelper.java b/OsmAnd/src/net/osmand/plus/helpers/FileNameTranslationHelper.java index a6792b8269..30d7b2a730 100644 --- a/OsmAnd/src/net/osmand/plus/helpers/FileNameTranslationHelper.java +++ b/OsmAnd/src/net/osmand/plus/helpers/FileNameTranslationHelper.java @@ -80,7 +80,7 @@ public class FileNameTranslationHelper { public static String getVoiceName(Context ctx, String fileName) { try { - String nm = fileName.replace('-', '_').replace(' ', '_'); + String nm = fileName.replace('-', '_').replace(' ', '_'); if (nm.endsWith("_tts") || nm.endsWith("-tts")) { nm = nm.substring(0, nm.length() - 4); }