Add no-args constructor for PodHistory
This commit is contained in:
parent
3cc1113501
commit
17ad3c41e9
|
@ -39,7 +39,9 @@ public class PodHistory implements DbObjectBase {
|
|||
@DatabaseField
|
||||
private Boolean successConfirmed;
|
||||
|
||||
|
||||
public PodHistory() {
|
||||
generatePumpId();
|
||||
}
|
||||
|
||||
public PodHistory(PodDbEntryType podDbEntryType) {
|
||||
this.date = System.currentTimeMillis();
|
||||
|
@ -47,14 +49,12 @@ public class PodHistory implements DbObjectBase {
|
|||
generatePumpId();
|
||||
}
|
||||
|
||||
|
||||
public PodHistory(long dateTimeInMillis, PodDbEntryType podDbEntryType) {
|
||||
this.date = dateTimeInMillis;
|
||||
this.podDbEntryType = podDbEntryType;
|
||||
generatePumpId();
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public long getDate() {
|
||||
return this.date;
|
||||
|
|
Loading…
Reference in a new issue