altoslib: Remove some debug printf calls
authorKeith Packard <keithp@keithp.com>
Wed, 11 May 2016 05:49:04 +0000 (22:49 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 12 May 2016 06:22:15 +0000 (23:22 -0700)
Signed-off-by: Keith Packard <keithp@keithp.com>
altoslib/AltosMapCache.java
altoslib/AltosMapTile.java
altoslib/AltosStateIterable.java

index 38e0f769871a186d4ae434ce4d24668ba32e2e4c..8100704f5f91b486d012e368a3d08fbcc449e287 100644 (file)
@@ -60,7 +60,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 +138,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;
                }
        }
index fdc8ff65995ab0752843e88ad3f58b62afd52049..1d86309c08486d316a8e24817432abb1eb9a8f44 100644 (file)
@@ -87,7 +87,6 @@ public abstract class AltosMapTile implements AltosFontListener, AltosMapStoreLi
        }
 
        public void notify_store(AltosMapStore store, int status) {
-//             System.out.printf("AltosMapTile.notify_store %d\n", status);
                notify_listeners(status);
        }
 
index a7baa85eae3404978945d7ce529a73b9942ed914..2d2d342f79da48501fbc53c38f5795674fa04f9b 100644 (file)
@@ -32,7 +32,6 @@ public abstract class AltosStateIterable implements Iterable<AltosState> {
                try {
                        in = new FileInputStream(file);
                } catch (Exception e) {
-                       System.out.printf("Failed to open file '%s'\n", file);
                        return null;
                }
                if (file.getName().endsWith("telem"))