Don't use Kotlin reflection if not really necessary

This commit is contained in:
Torsten Grote 2020-09-14 14:00:23 -03:00 committed by Chirayu Desai
parent 15969e0d88
commit fa617fbaae

View file

@ -47,7 +47,7 @@ internal class DocumentsProviderKVBackup(
} }
if (key.length > MAX_KEY_LENGTH_NEXTCLOUD) { if (key.length > MAX_KEY_LENGTH_NEXTCLOUD) {
Log.e( Log.e(
DocumentsProviderKVBackup::class.simpleName, DocumentsProviderKVBackup::class.java.simpleName,
"Key $key for ${packageInfo.packageName} is too long: ${key.length} chars." "Key $key for ${packageInfo.packageName} is too long: ${key.length} chars."
) )
} }