small correction

This commit is contained in:
sonora 2015-06-11 23:04:20 +02:00
parent b6d615773e
commit 86071060f9

View file

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