cosmetics: spelling fix and remove double semicolon.
This commit is contained in:
parent
f2b758aa28
commit
b3d6077c5c
6 changed files with 8 additions and 8 deletions
|
@ -361,7 +361,7 @@ public class LocalIndexHelper {
|
|||
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),
|
||||
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
|
||||
private final int resId;
|
||||
|
|
|
@ -525,7 +525,7 @@ public class DownloadIndexesThread {
|
|||
}
|
||||
filesToReindex.clear();
|
||||
// slow down but let update all button work properly
|
||||
indexes.updateFilesToUpdate();;
|
||||
indexes.updateFilesToUpdate();
|
||||
}
|
||||
}
|
||||
} finally {
|
||||
|
@ -647,4 +647,4 @@ public class DownloadIndexesThread {
|
|||
downloadInProgress();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -181,7 +181,7 @@ public class DownloadResources extends DownloadResourceGroup {
|
|||
|
||||
|
||||
protected void updateFilesToUpdate() {
|
||||
initAlreadyLoadedFiles();;
|
||||
initAlreadyLoadedFiles();
|
||||
recalculateFilesToUpdate();
|
||||
}
|
||||
|
||||
|
@ -439,4 +439,4 @@ public class DownloadResources extends DownloadResourceGroup {
|
|||
return downloadRegion.getSuperregion() != null
|
||||
&& addIndexItem(downloadThread, type, downloadRegion.getSuperregion(), res);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -114,7 +114,7 @@ public class DownloadValidationManager {
|
|||
double szChange = ((double) szChangeLong) / (1 << 20);
|
||||
double szMaxTemp = szChange + ((double) szMaxTempLong) / (1 << 20);
|
||||
|
||||
// get availabile space
|
||||
// get available space
|
||||
double asz = downloadThread.getAvailableSpace();
|
||||
if (asz != -1 && asz > 0 && (szMaxTemp > asz)) {
|
||||
AlertDialog.Builder builder = new AlertDialog.Builder(context);
|
||||
|
|
|
@ -67,7 +67,7 @@ public class MapMarkersGroupsAdapter extends RecyclerView.Adapter<RecyclerView.V
|
|||
}
|
||||
|
||||
public void updateShowDirectionMarkers() {
|
||||
showDirectionEnabled = app.getSettings().MAP_MARKERS_MODE.get() != OsmandSettings.MapMarkersMode.NONE;;
|
||||
showDirectionEnabled = app.getSettings().MAP_MARKERS_MODE.get() != OsmandSettings.MapMarkersMode.NONE;
|
||||
List<MapMarker> mapMarkers = app.getMapMarkersHelper().getMapMarkers();
|
||||
int markersCount = mapMarkers.size();
|
||||
showDirectionMarkers = new ArrayList<>(mapMarkers.subList(0, markersCount > 0 ? markersCount > 1 ? 2 : 1 : 0));
|
||||
|
|
|
@ -204,7 +204,7 @@ public class SendPoiDialogFragment extends DialogFragment {
|
|||
group = deleteGroup;
|
||||
break;
|
||||
case 3:
|
||||
action = getString(R.string.default_changeset_reopen);;
|
||||
action = getString(R.string.default_changeset_reopen);
|
||||
group = reopenGroup;
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue