X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=altoslib%2FAltosMapCache.java;h=2671cd7ef764409bd08cf00b431b5d5ea93573ff;hp=38e0f769871a186d4ae434ce4d24668ba32e2e4c;hb=76b288f8d02e0a48f04de9455a2dd0b77e48bd63;hpb=e0081f7ba6fc9f1e4484d3e291fd30065ad5b620 diff --git a/altoslib/AltosMapCache.java b/altoslib/AltosMapCache.java index 38e0f769..2671cd7e 100644 --- a/altoslib/AltosMapCache.java +++ b/altoslib/AltosMapCache.java @@ -3,7 +3,8 @@ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License. + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of @@ -15,7 +16,7 @@ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -package org.altusmetrum.altoslib_10; +package org.altusmetrum.altoslib_14; import java.io.*; import java.net.*; @@ -60,7 +61,6 @@ public class AltosMapCache implements AltosMapCacheListener { public synchronized void notify_tile(AltosMapTile tile, int status) { if (status == AltosMapTile.fetched) { - System.out.printf("tile fetched, loading image\n"); load(); } } @@ -139,8 +139,6 @@ public class AltosMapCache implements AltosMapCacheListener { elements[oldest].flush(); elements[oldest] = element; - System.out.printf("AltosMapCache.get image ? %s\n", - element.image == null ? "false" : "true"); return element.image; } }