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

View File

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