From 90651bd29045dc28f75d04565ae90ced925201bf Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Tue, 25 Feb 2020 15:07:22 +0200 Subject: [PATCH] Remove unnecessary changes (cherry picked from commit 8194d599c504d039f85279a71e7def6eee468cd6) --- OsmAnd/src/net/osmand/plus/resources/ResourceManager.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/resources/ResourceManager.java b/OsmAnd/src/net/osmand/plus/resources/ResourceManager.java index 5eb9feb502..dca3f943c2 100644 --- a/OsmAnd/src/net/osmand/plus/resources/ResourceManager.java +++ b/OsmAnd/src/net/osmand/plus/resources/ResourceManager.java @@ -403,7 +403,7 @@ public class ResourceManager { if (file.exists() && file.canRead()) { File[] lf = file.listFiles(); if (lf != null) { - java.text.DateFormat dateFormat = DateFormat.getDateFormat(context); + java.text.DateFormat dateFormat = getDateFormat(); for (File f : lf) { if (f.isDirectory()) { String lang = f.getName().replace("-tts", ""); @@ -429,7 +429,7 @@ public class ResourceManager { if (file.exists() && file.canRead()) { File[] lf = file.listFiles(); if (lf != null) { - java.text.DateFormat dateFormat = DateFormat.getDateFormat(context); + java.text.DateFormat dateFormat = getDateFormat(); for (File f : lf) { if (!f.isDirectory()) { indexFileNames.put(f.getName(), dateFormat.format(f.lastModified())); @@ -671,7 +671,7 @@ public class ResourceManager { if (hasWorldBasemap && worldBasemapMini != null) { files.remove(worldBasemapMini); } - java.text.DateFormat dateFormat = DateFormat.getDateFormat(context); + java.text.DateFormat dateFormat = getDateFormat(); for (File f : files) { progress.startTask(context.getString(R.string.indexing_map) + " " + f.getName(), -1); //$NON-NLS-1$ try {