Merge pull request #4673 from rdoeffinger/spellingfix
cosmetics: spelling fix and remove double semicolon.
This commit is contained in:
commit
2fefce2745
5 changed files with 7 additions and 7 deletions
|
@ -361,7 +361,7 @@ public class LocalIndexHelper {
|
||||||
VOICE_DATA(R.string.local_indexes_cat_voice, R.drawable.ic_action_volume_up, 30),
|
VOICE_DATA(R.string.local_indexes_cat_voice, R.drawable.ic_action_volume_up, 30),
|
||||||
FONT_DATA(R.string.fonts_header, R.drawable.ic_action_map_language, 35),
|
FONT_DATA(R.string.fonts_header, R.drawable.ic_action_map_language, 35),
|
||||||
DEACTIVATED(R.string.local_indexes_cat_backup, R.drawable.ic_type_archive, 1000);
|
DEACTIVATED(R.string.local_indexes_cat_backup, R.drawable.ic_type_archive, 1000);
|
||||||
// AV_DATA(R.string.local_indexes_cat_av);;
|
// AV_DATA(R.string.local_indexes_cat_av);
|
||||||
|
|
||||||
@StringRes
|
@StringRes
|
||||||
private final int resId;
|
private final int resId;
|
||||||
|
|
|
@ -525,7 +525,7 @@ public class DownloadIndexesThread {
|
||||||
}
|
}
|
||||||
filesToReindex.clear();
|
filesToReindex.clear();
|
||||||
// slow down but let update all button work properly
|
// slow down but let update all button work properly
|
||||||
indexes.updateFilesToUpdate();;
|
indexes.updateFilesToUpdate();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} finally {
|
} finally {
|
||||||
|
@ -647,4 +647,4 @@ public class DownloadIndexesThread {
|
||||||
downloadInProgress();
|
downloadInProgress();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -181,7 +181,7 @@ public class DownloadResources extends DownloadResourceGroup {
|
||||||
|
|
||||||
|
|
||||||
protected void updateFilesToUpdate() {
|
protected void updateFilesToUpdate() {
|
||||||
initAlreadyLoadedFiles();;
|
initAlreadyLoadedFiles();
|
||||||
recalculateFilesToUpdate();
|
recalculateFilesToUpdate();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -439,4 +439,4 @@ public class DownloadResources extends DownloadResourceGroup {
|
||||||
return downloadRegion.getSuperregion() != null
|
return downloadRegion.getSuperregion() != null
|
||||||
&& addIndexItem(downloadThread, type, downloadRegion.getSuperregion(), res);
|
&& addIndexItem(downloadThread, type, downloadRegion.getSuperregion(), res);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -114,7 +114,7 @@ public class DownloadValidationManager {
|
||||||
double szChange = ((double) szChangeLong) / (1 << 20);
|
double szChange = ((double) szChangeLong) / (1 << 20);
|
||||||
double szMaxTemp = szChange + ((double) szMaxTempLong) / (1 << 20);
|
double szMaxTemp = szChange + ((double) szMaxTempLong) / (1 << 20);
|
||||||
|
|
||||||
// get availabile space
|
// get available space
|
||||||
double asz = downloadThread.getAvailableSpace();
|
double asz = downloadThread.getAvailableSpace();
|
||||||
if (asz != -1 && asz > 0 && (szMaxTemp > asz)) {
|
if (asz != -1 && asz > 0 && (szMaxTemp > asz)) {
|
||||||
AlertDialog.Builder builder = new AlertDialog.Builder(context);
|
AlertDialog.Builder builder = new AlertDialog.Builder(context);
|
||||||
|
|
|
@ -204,7 +204,7 @@ public class SendPoiDialogFragment extends DialogFragment {
|
||||||
group = deleteGroup;
|
group = deleteGroup;
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
action = getString(R.string.default_changeset_reopen);;
|
action = getString(R.string.default_changeset_reopen);
|
||||||
group = reopenGroup;
|
group = reopenGroup;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue