mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
Fix Codacy issues
This commit is contained in:
parent
ed32ebbb62
commit
c906d6d3d4
1 changed files with 5 additions and 5 deletions
|
|
@ -1,5 +1,8 @@
|
|||
package fr.free.nrw.commons.nearby;
|
||||
|
||||
import static fr.free.nrw.commons.utils.LengthUtils.computeDistanceBetween;
|
||||
import static fr.free.nrw.commons.utils.LengthUtils.formatDistanceBetween;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.SharedPreferences;
|
||||
import android.preference.PreferenceManager;
|
||||
|
|
@ -19,9 +22,6 @@ import java.util.Map;
|
|||
|
||||
import timber.log.Timber;
|
||||
|
||||
import static fr.free.nrw.commons.utils.LengthUtils.computeDistanceBetween;
|
||||
import static fr.free.nrw.commons.utils.LengthUtils.formatDistanceBetween;
|
||||
|
||||
|
||||
public class NearbyController {
|
||||
private static final int MAX_RESULTS = 1000;
|
||||
|
|
@ -60,7 +60,7 @@ public class NearbyController {
|
|||
* Loads attractions from location for list view, we need to return Place data type.
|
||||
* @param curLatLng users current location
|
||||
* @param context current activity
|
||||
* @return
|
||||
* @return Place list that holds nearby places
|
||||
*/
|
||||
|
||||
public static List<Place> loadAttractionsFromLocationToPlaces(LatLng curLatLng,
|
||||
|
|
@ -79,7 +79,7 @@ public class NearbyController {
|
|||
*Loads attractions from location for map view, we need to return BaseMarkerOption data type.
|
||||
* @param curLatLng users current location
|
||||
* @param context the activity
|
||||
* @return
|
||||
* @return BaseMarkerOprions list that holds nearby places
|
||||
*/
|
||||
public static List<BaseMarkerOptions> loadAttractionsFromLocationToBaseMarkerOptions(
|
||||
LatLng curLatLng,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue