Immutable data class. var -> val

This commit is contained in:
Benoit Marty 2022-04-13 19:08:31 +02:00
parent 3435357b1c
commit 7773b75834

View File

@ -20,9 +20,8 @@ import org.matrix.android.sdk.api.session.crypto.model.EncryptedFileInfo
/** /**
* Define the result of an encryption file * Define the result of an encryption file
* TODO var should be val
*/ */
internal data class EncryptionResult( internal data class EncryptionResult(
var encryptedFileInfo: EncryptedFileInfo, val encryptedFileInfo: EncryptedFileInfo,
var encryptedByteArray: ByteArray val encryptedByteArray: ByteArray
) )