CollectionInfo: remove deprecated code.

pull/108/head
Tom Hacohen 4 years ago
parent ceead4815b
commit 09e2a9255a

@ -106,10 +106,5 @@ class CollectionInfo : Serializable {
fun fromJson(json: String): CollectionInfo {
return GsonBuilder().excludeFieldsWithoutExposeAnnotation().create().fromJson(json, CollectionInfo::class.java)
}
private fun getAsBooleanOrNull(values: ContentValues, field: String): Boolean? {
val i = values.getAsInteger(field)
return if (i == null) null else i != 0
}
}
}

Loading…
Cancel
Save