projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altosuilib: Add distance measuring line to site map.
[fw/altos]
/
altosuilib
/
AltosSiteMapCache.java
diff --git
a/altosuilib/AltosSiteMapCache.java
b/altosuilib/AltosSiteMapCache.java
index acc84ab081a115f7ed47e8eefe4db8222c074451..42914debf78412d6cb8a8d4ef811450e7a944d9b 100644
(file)
--- a/
altosuilib/AltosSiteMapCache.java
+++ b/
altosuilib/AltosSiteMapCache.java
@@
-91,7
+91,7
@@
public class AltosSiteMapCache {
static final int bad_request = 3;
static final int forbidden = 4;
static final int bad_request = 3;
static final int forbidden = 4;
- public static
synchronized
boolean has_map(File file, String url) {
+ public static boolean has_map(File file, String url) {
return file.exists();
}
return file.exists();
}
@@
-182,7
+182,7
@@
public class AltosSiteMapCache {
static long used;
static long used;
- public static
synchronized
Image get_image(Component component, File file, int width, int height) {
+ public static Image get_image(Component component, File file, int width, int height) {
int oldest = -1;
long age = used;
AltosCacheImage image;
int oldest = -1;
long age = used;
AltosCacheImage image;