small correction
This commit is contained in:
parent
b6d615773e
commit
86071060f9
1 changed files with 1 additions and 1 deletions
|
@ -360,7 +360,7 @@ public class FavouritesDbHelper {
|
||||||
File firstModified = null;
|
File firstModified = null;
|
||||||
long firstModifiedMin = System.currentTimeMillis();
|
long firstModifiedMin = System.currentTimeMillis();
|
||||||
while(back <= BACKUP_CNT) {
|
while(back <= BACKUP_CNT) {
|
||||||
File bak = new File(fld, "favourites_backup_" + formatter.format(back) +".gpx.bz2");
|
File bak = new File(fld, "favourites_bak_" + formatter.format(back) +".gpx.bz2");
|
||||||
if (!bak.exists()) {
|
if (!bak.exists()) {
|
||||||
return bak;
|
return bak;
|
||||||
} else if (bak.lastModified() < firstModifiedMin) {
|
} else if (bak.lastModified() < firstModifiedMin) {
|
||||||
|
|
Loading…
Reference in a new issue