diff options
author | Samuel Tardieu <sam@rfc1149.net> | 2014-03-06 09:01:01 +0100 |
---|---|---|
committer | Samuel Tardieu <sam@rfc1149.net> | 2014-03-06 09:01:13 +0100 |
commit | 37f4fcd122798465875db6271c5bd600bcfba0a7 (patch) | |
tree | 79bd8560ca4385337de851878a9512a2b8fd9757 /main | |
parent | 84166718684f5967ad2c105a2211c26d901dabd0 (diff) | |
download | cgeo-37f4fcd122798465875db6271c5bd600bcfba0a7.zip cgeo-37f4fcd122798465875db6271c5bd600bcfba0a7.tar.gz cgeo-37f4fcd122798465875db6271c5bd600bcfba0a7.tar.bz2 |
Add missing serialVersionUID to TileCache
Diffstat (limited to 'main')
-rw-r--r-- | main/src/cgeo/geocaching/connector/gc/Tile.java | 4 |
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); } |