mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-28 21:33:53 +01:00
[Lint] Remove class variables to local
This commit is contained in:
parent
8f5be5a434
commit
83957bae06
10 changed files with 23 additions and 35 deletions
|
|
@ -14,7 +14,6 @@ public class CacheController {
|
|||
|
||||
private double x, y;
|
||||
private QuadTree<List<String>> quadTree;
|
||||
private Point<List<String>>[] pointsFound;
|
||||
private double xMinus, xPlus, yMinus, yPlus;
|
||||
|
||||
private static final int EARTH_RADIUS = 6378137;
|
||||
|
|
@ -42,6 +41,7 @@ public class CacheController {
|
|||
}
|
||||
|
||||
public List<String> findCategory() {
|
||||
Point<List<String>>[] pointsFound;
|
||||
//Convert decLatitude and decLongitude to a coordinate offset range
|
||||
convertCoordRange();
|
||||
pointsFound = quadTree.searchWithin(xMinus, yMinus, xPlus, yPlus);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue