fixing exception message parameter ordering

This commit is contained in:
Adam Brown 2021-09-27 18:08:32 +01:00
parent 19d1d981c3
commit 399b2a13ee
1 changed files with 2 additions and 2 deletions

View File

@ -47,8 +47,8 @@ class KeysExporter @Inject constructor(
output == null -> throw IllegalStateException("Exported file not found") output == null -> throw IllegalStateException("Exported file not found")
output.statSize != expectedSize -> { output.statSize != expectedSize -> {
throw UnexpectedExportKeysFileSizeException( throw UnexpectedExportKeysFileSizeException(
expectedFileSize = output.statSize, expectedFileSize = expectedSize,
actualFileSize = expectedSize actualFileSize = output.statSize
) )
} }
} }