mirror of
https://github.com/etesync/android
synced 2024-11-22 07:58:09 +00:00
CollectionInfo: remove deprecated code.
This commit is contained in:
parent
ceead4815b
commit
09e2a9255a
@ -106,10 +106,5 @@ class CollectionInfo : Serializable {
|
|||||||
fun fromJson(json: String): CollectionInfo {
|
fun fromJson(json: String): CollectionInfo {
|
||||||
return GsonBuilder().excludeFieldsWithoutExposeAnnotation().create().fromJson(json, CollectionInfo::class.java)
|
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…
Reference in New Issue
Block a user