projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
micropeak: Make reported 'max height' value show filtered max height
[fw/altos]
/
altoslib
/
AltosMapStore.java
diff --git
a/altoslib/AltosMapStore.java
b/altoslib/AltosMapStore.java
index 7cce05a594c7eccb8008aaaca85c68357d97f76b..4eba3a044296987c5f1ebaa3b0a3cff548a8e3de 100644
(file)
--- a/
altoslib/AltosMapStore.java
+++ b/
altoslib/AltosMapStore.java
@@
-16,7
+16,7
@@
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
*/
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
*/
-package org.altusmetrum.altoslib_1
1
;
+package org.altusmetrum.altoslib_1
2
;
import java.io.*;
import java.net.*;
import java.io.*;
import java.net.*;
@@
-91,6
+91,7
@@
public class AltosMapStore {
static Object forbidden_lock = new Object();
static long forbidden_time;
static boolean forbidden_set;
static Object forbidden_lock = new Object();
static long forbidden_time;
static boolean forbidden_set;
+ public static int forbidden_response;
private int fetch_url() {
URL u;
private int fetch_url() {
URL u;
@@
-116,6
+117,7
@@
public class AltosMapStore {
synchronized (forbidden_lock) {
forbidden_time = System.nanoTime();
forbidden_set = true;
synchronized (forbidden_lock) {
forbidden_time = System.nanoTime();
forbidden_set = true;
+ forbidden_response = response;
return AltosMapTile.forbidden;
}
}
return AltosMapTile.forbidden;
}
}