Fix issue 803. Align naming
This commit is contained in:
parent
41f65a1e5c
commit
69958f88de
1 changed files with 2 additions and 3 deletions
|
@ -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()) {
|
||||||
|
|
Loading…
Reference in a new issue