summaryrefslogtreecommitdiff
path: root/altosuilib
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2016-04-19 23:17:01 -0400
committerKeith Packard <keithp@keithp.com>2016-04-19 23:21:30 -0400
commit45bcf595d0a6a6001459f7f2055cd15e4839550b (patch)
treea6aa2c1f071e8b61fc88be2d635994077819cca2 /altosuilib
parent90ba010aaa84a7d8b93c63543568a16ab0cb5984 (diff)
altoslib: Add debugging to AltosPreferences.state() etc
This let me find why AltosDroid was losing the last state information for each target. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosuilib')
-rw-r--r--altosuilib/AltosUIPreferencesBackend.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/altosuilib/AltosUIPreferencesBackend.java b/altosuilib/AltosUIPreferencesBackend.java
index 6d7aa88b..0b01dea6 100644
--- a/altosuilib/AltosUIPreferencesBackend.java
+++ b/altosuilib/AltosUIPreferencesBackend.java
@@ -106,4 +106,8 @@ public class AltosUIPreferencesBackend implements AltosPreferencesBackend {
/* Use the file system view default directory */
return FileSystemView.getFileSystemView().getDefaultDirectory();
}
+
+ public void debug(String format, Object ... arguments) {
+ System.out.printf(format, arguments);
+ }
}