This commit is contained in:
burke.davey
2010-07-12 21:52:38 +00:00
parent 82d9b03eb9
commit a6fefc655a

View File

@@ -31,9 +31,9 @@ public class DeviceInfo {
@Persistent
private String deviceRegistrationID;
@Persistent
private boolean debug;
@Persistent
private Boolean debug;
public DeviceInfo(Key key, String deviceRegistrationID) {
this.key = key;
@@ -41,11 +41,11 @@ public class DeviceInfo {
}
public boolean getDebug() {
return debug;
return debug != null ? debug.booleanValue() : false;
}
public void setDebug(boolean debug) {
this.debug = debug;
this.debug = new Boolean(debug);
}
public Key getKey() {