Variable 'encryptionKey' initializer 'null' is redundant

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
This commit is contained in:
Daniel Ziegenberg 2020-06-09 17:34:20 +02:00
parent 2a78396101
commit 57775918c0

View file

@ -62,7 +62,7 @@ public class EncryptedBackupBroadcastReceiver extends BackupBroadcastReceiver {
return;
}
SecretKey encryptionKey = null;
SecretKey encryptionKey;
if (settings.getEncryption() == Constants.EncryptionType.KEYSTORE) {
encryptionKey = KeyStoreHelper.loadEncryptionKeyFromKeyStore(context, false);