Let constant be "const".

This commit is contained in:
Tobias Preuss 2020-07-08 14:01:27 +02:00
parent 35b1d17244
commit f075de1c7a

View file

@ -653,10 +653,10 @@ class PgpMessageBuilderTest : K9RobolectricTest() {
} }
companion object { companion object {
private val TEST_KEY_ID = 123L private const val TEST_KEY_ID = 123L
private val TEST_MESSAGE_TEXT = "message text with a ☭ CCCP symbol" private const val TEST_MESSAGE_TEXT = "message text with a ☭ CCCP symbol"
private val AUTOCRYPT_KEY_MATERIAL = byteArrayOf(1, 2, 3) private val AUTOCRYPT_KEY_MATERIAL = byteArrayOf(1, 2, 3)
private val SENDER_EMAIL = "test@example.org" private const val SENDER_EMAIL = "test@example.org"
private fun createDefaultPgpMessageBuilder( private fun createDefaultPgpMessageBuilder(
openPgpApi: OpenPgpApi, openPgpApi: OpenPgpApi,