From 399b2a13ee1803d4c8247181cae1fd5d5ba43e64 Mon Sep 17 00:00:00 2001 From: Adam Brown Date: Mon, 27 Sep 2021 18:08:32 +0100 Subject: [PATCH] fixing exception message parameter ordering --- .../java/im/vector/app/features/crypto/keys/KeysExporter.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vector/src/main/java/im/vector/app/features/crypto/keys/KeysExporter.kt b/vector/src/main/java/im/vector/app/features/crypto/keys/KeysExporter.kt index 8eb4fafc68..3db67df8e1 100644 --- a/vector/src/main/java/im/vector/app/features/crypto/keys/KeysExporter.kt +++ b/vector/src/main/java/im/vector/app/features/crypto/keys/KeysExporter.kt @@ -47,8 +47,8 @@ class KeysExporter @Inject constructor( output == null -> throw IllegalStateException("Exported file not found") output.statSize != expectedSize -> { throw UnexpectedExportKeysFileSizeException( - expectedFileSize = output.statSize, - actualFileSize = expectedSize + expectedFileSize = expectedSize, + actualFileSize = output.statSize ) } }