com.cedarsoftware.util.io.JsonReader requires a public constructor with no arguments (otherwise it'll try to find another constructor and call it with default values, e.g. null may change to 0)
This commit is contained in:
parent
35c6c33941
commit
ae723574b9
|
@ -28,8 +28,8 @@ public class SeriesInfo implements Serializable {
|
|||
protected Integer runtime;
|
||||
protected String status;
|
||||
|
||||
protected SeriesInfo() {
|
||||
|
||||
public SeriesInfo() {
|
||||
// used by deserializer
|
||||
}
|
||||
|
||||
public SeriesInfo(SeriesInfo other) {
|
||||
|
|
|
@ -18,8 +18,8 @@ public class SimpleDate implements Serializable, Comparable<Object> {
|
|||
protected int month;
|
||||
protected int day;
|
||||
|
||||
protected SimpleDate() {
|
||||
// used by serializer
|
||||
public SimpleDate() {
|
||||
// used by deserializer
|
||||
}
|
||||
|
||||
public SimpleDate(int year, int month, int day) {
|
||||
|
|
|
@ -13,8 +13,8 @@ public class TheTVDBSeriesInfo extends SeriesInfo implements Serializable {
|
|||
protected URL banner;
|
||||
protected long lastUpdated;
|
||||
|
||||
protected TheTVDBSeriesInfo() {
|
||||
|
||||
public TheTVDBSeriesInfo() {
|
||||
// used by deserializer
|
||||
}
|
||||
|
||||
public TheTVDBSeriesInfo(TheTVDBSeriesInfo other) {
|
||||
|
|
Loading…
Reference in New Issue