What steps will reproduce the problem?
1. ant build jar
What is the expected output?
BUILD SUCCESSFUL
What version of the product are you using? On what operating system?
r911
Please provide any additional information below.
Error is:
src/org/osmdroid/tileprovider/LRUMapTileCache.java:56:
java.util.LinkedHashMap.Entry has private access in java.util.LinkedHashMap
[javac] protected boolean removeEldestEntry(final Entry<MapTile, Drawable> aEldest) {
[javac] ^
Last r991 was supposed to be a cleanup but broke compilation:
Since "import java.util.Map.Entry;" is removed, java try to take
"java.util.LinkedHashMap.Entry" for "Entry", and since it's private, stops
compilation with error.
Fix:
revert LRUMapTileCache.java to its previous version including "import
java.util.Map.Entry;" or call "Entry" with its full name:
protected boolean removeEldestEntry(final java.util.Map.Entry<MapTile,
Drawable> aEldest) {
Original issue reported on code.google.com by jul...@xomodigital.com on 3 Nov 2011 at 11:29
Original issue reported on code.google.com by
jul...@xomodigital.com
on 3 Nov 2011 at 11:29