Mark as const

This commit is contained in:
ligi 2018-02-10 17:58:07 +01:00
parent 2d50ff49b8
commit 8596289d9f
No known key found for this signature in database
GPG key ID: 8E81894010ABF23D

View file

@ -255,7 +255,7 @@ open class PassViewActivityBase : PassAndroidActivity() {
companion object {
val EXTRA_KEY_UUID = "uuid"
const val EXTRA_KEY_UUID = "uuid"
fun mightPassBeAbleToUpdate(pass: Pass?): Boolean {
return pass != null && pass.webServiceURL != null && pass.passIdent != null && pass.serial != null