mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-30 14:23:55 +01:00
Modified extra whitespace lines in source code
Code is much easier to read if there isn't too much of a gap between lines. Primarily converted multi-line gaps into single line gaps.
This commit is contained in:
parent
a685ecf2c3
commit
94e8c991ee
34 changed files with 5 additions and 76 deletions
|
|
@ -354,7 +354,6 @@ public class NearbyListFragment extends ListFragment implements TaskListener {
|
|||
return distanceRadians(Math.toRadians(from.latitude), Math.toRadians(from.longitude), Math.toRadians(to.latitude), Math.toRadians(to.longitude));
|
||||
}
|
||||
|
||||
|
||||
private static double distanceRadians(double lat1, double lng1, double lat2, double lng2) {
|
||||
return arcHav(havDistance(lat1, lat2, lng1 - lng2));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@ public class NearbyPlaces {
|
|||
StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().permitAll().build();
|
||||
StrictMode.setThreadPolicy(policy);
|
||||
|
||||
|
||||
URL file = new URL("https://tools.wmflabs.org/wiki-needs-pictures/data/data.csv");
|
||||
|
||||
BufferedReader in = new BufferedReader(new InputStreamReader(file.openStream()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue