Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
RZR-UA committed Dec 12, 2024
1 parent a70ff61 commit b78b545
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion OsmAnd/src/net/osmand/plus/resources/ResourceManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -1569,9 +1569,10 @@ public Map<String, String> getBackupIndexes(Map<String, String> map) {
if (file != null && file.isDirectory()) {
File[] lf = file.listFiles();
if (lf != null) {
DateFormat dateFormat = getDateFormat();
for (File f : lf) {
if (f != null && f.getName().endsWith(IndexConstants.BINARY_MAP_INDEX_EXT)) {
map.put(f.getName(), getDateFormat().format(f.lastModified()));
map.put(f.getName(), dateFormat.format(f.lastModified()));
}
}
}
Expand Down

0 comments on commit b78b545

Please sign in to comment.