aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/src/cgeo/geocaching/connector/gc/Tile.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/connector/gc/Tile.java b/main/src/cgeo/geocaching/connector/gc/Tile.java
index 40094a7..ca70111 100644
--- a/main/src/cgeo/geocaching/connector/gc/Tile.java
+++ b/main/src/cgeo/geocaching/connector/gc/Tile.java
@@ -149,7 +149,7 @@ public class Tile {
int zoom = (int) Math.floor(
Math.log(360.0 * numberOfTiles / (2.0 * Math.abs(left.getLongitude() - right.getLongitude())))
/ Math.log(2)
- );
+ );
Tile tileLeft = new Tile(left, zoom);
Tile tileRight = new Tile(right, zoom);
@@ -303,6 +303,8 @@ public class Tile {
public static class TileCache extends LeastRecentlyUsedSet<Tile> {
+ private static final long serialVersionUID = -1942301031192719547L;
+
public TileCache() {
super(64);
}