Remove unnecessary changes

(cherry picked from commit 8194d599c5)
This commit is contained in:
Vitaliy 2020-02-25 15:07:22 +02:00
parent e8541e7103
commit 90651bd290

View file

@ -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 {