From be5e6eaa93f0400b20e62ffa0163b2ec0b82b5e2 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Fri, 6 Mar 2020 10:10:16 +0100 Subject: [PATCH] Rename parameter type for code clarity --- .../android/internal/crypto/verification/VerificationInfo.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/matrix-sdk-android/src/main/java/im/vector/matrix/android/internal/crypto/verification/VerificationInfo.kt b/matrix-sdk-android/src/main/java/im/vector/matrix/android/internal/crypto/verification/VerificationInfo.kt index 8f01bdd14a..ca77b2d391 100644 --- a/matrix-sdk-android/src/main/java/im/vector/matrix/android/internal/crypto/verification/VerificationInfo.kt +++ b/matrix-sdk-android/src/main/java/im/vector/matrix/android/internal/crypto/verification/VerificationInfo.kt @@ -18,11 +18,11 @@ package im.vector.matrix.android.internal.crypto.verification import im.vector.matrix.android.api.session.events.model.Content import im.vector.matrix.android.internal.crypto.model.rest.SendToDeviceObject -interface VerificationInfo { +interface VerificationInfo { fun toEventContent(): Content? = null fun toSendToDeviceObject(): SendToDeviceObject? = null - fun asValidObject(): ValidObject? + fun asValidObject(): ValidObjectType? /** * String to identify the transaction.