Fix issue 803. Align naming

This commit is contained in:
Victor Shcherb 2012-01-06 00:48:20 +01:00
parent 41f65a1e5c
commit 69958f88de

View file

@ -137,10 +137,9 @@ public class SavingTrackHelper extends SQLiteOpenHelper {
// save file // save file
for (final String f : data.keySet()) { for (final String f : data.keySet()) {
File fout = new File(dir, f + ".gpx"); //$NON-NLS-1$ File fout = new File(dir, f + ".gpx"); //$NON-NLS-1$
if (fout.exists() && !data.get(f).isEmpty()) { if (!data.get(f).isEmpty()) {
String fileName = f + "_" + new SimpleDateFormat("HH-mm-ss_EEEE").format(new Date(data.get(f).findPointToShow().time)); //$NON-NLS-1$ String fileName = f + "_" + new SimpleDateFormat("HH-mm_EEE").format(new Date(data.get(f).findPointToShow().time)); //$NON-NLS-1$
fout = new File(dir, fileName + ".gpx"); //$NON-NLS-1$ fout = new File(dir, fileName + ".gpx"); //$NON-NLS-1$
int ind = 1; int ind = 1;
while (fout.exists()) { while (fout.exists()) {