From b3d6077c5c339e0b97d673e630d1edf846bb3936 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reimar=20D=C3=B6ffinger?= Date: Sun, 29 Oct 2017 14:49:08 +0100 Subject: [PATCH] cosmetics: spelling fix and remove double semicolon. --- OsmAnd/src/net/osmand/plus/activities/LocalIndexHelper.java | 2 +- .../src/net/osmand/plus/download/DownloadIndexesThread.java | 4 ++-- OsmAnd/src/net/osmand/plus/download/DownloadResources.java | 4 ++-- .../net/osmand/plus/download/DownloadValidationManager.java | 2 +- .../plus/mapmarkers/adapters/MapMarkersGroupsAdapter.java | 2 +- .../osmand/plus/osmedit/dialogs/SendPoiDialogFragment.java | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/activities/LocalIndexHelper.java b/OsmAnd/src/net/osmand/plus/activities/LocalIndexHelper.java index 8149945230..ee46c4a867 100644 --- a/OsmAnd/src/net/osmand/plus/activities/LocalIndexHelper.java +++ b/OsmAnd/src/net/osmand/plus/activities/LocalIndexHelper.java @@ -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; diff --git a/OsmAnd/src/net/osmand/plus/download/DownloadIndexesThread.java b/OsmAnd/src/net/osmand/plus/download/DownloadIndexesThread.java index ab8ddadf54..16b6100792 100644 --- a/OsmAnd/src/net/osmand/plus/download/DownloadIndexesThread.java +++ b/OsmAnd/src/net/osmand/plus/download/DownloadIndexesThread.java @@ -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(); } } -} \ No newline at end of file +} diff --git a/OsmAnd/src/net/osmand/plus/download/DownloadResources.java b/OsmAnd/src/net/osmand/plus/download/DownloadResources.java index 5cfbd18cf0..78ece750e8 100644 --- a/OsmAnd/src/net/osmand/plus/download/DownloadResources.java +++ b/OsmAnd/src/net/osmand/plus/download/DownloadResources.java @@ -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); } -} \ No newline at end of file +} diff --git a/OsmAnd/src/net/osmand/plus/download/DownloadValidationManager.java b/OsmAnd/src/net/osmand/plus/download/DownloadValidationManager.java index 4a7ec8f60d..f1eb89235d 100644 --- a/OsmAnd/src/net/osmand/plus/download/DownloadValidationManager.java +++ b/OsmAnd/src/net/osmand/plus/download/DownloadValidationManager.java @@ -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); diff --git a/OsmAnd/src/net/osmand/plus/mapmarkers/adapters/MapMarkersGroupsAdapter.java b/OsmAnd/src/net/osmand/plus/mapmarkers/adapters/MapMarkersGroupsAdapter.java index 06662c7c1c..4524a63d1f 100644 --- a/OsmAnd/src/net/osmand/plus/mapmarkers/adapters/MapMarkersGroupsAdapter.java +++ b/OsmAnd/src/net/osmand/plus/mapmarkers/adapters/MapMarkersGroupsAdapter.java @@ -67,7 +67,7 @@ public class MapMarkersGroupsAdapter extends RecyclerView.Adapter mapMarkers = app.getMapMarkersHelper().getMapMarkers(); int markersCount = mapMarkers.size(); showDirectionMarkers = new ArrayList<>(mapMarkers.subList(0, markersCount > 0 ? markersCount > 1 ? 2 : 1 : 0)); diff --git a/OsmAnd/src/net/osmand/plus/osmedit/dialogs/SendPoiDialogFragment.java b/OsmAnd/src/net/osmand/plus/osmedit/dialogs/SendPoiDialogFragment.java index 7ce6d9be11..c651138e75 100644 --- a/OsmAnd/src/net/osmand/plus/osmedit/dialogs/SendPoiDialogFragment.java +++ b/OsmAnd/src/net/osmand/plus/osmedit/dialogs/SendPoiDialogFragment.java @@ -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: