Skip to content

Commit e7890aa

Browse files
committed
Fix ci.
1 parent 560518c commit e7890aa

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

cropper/src/main/kotlin/com/canhub/cropper/BitmapUtils.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -428,14 +428,14 @@ internal object BitmapUtils {
428428
/**
429429
* Validates the output URI for security purposes.
430430
* Only allows content:// URIs and validates file extension matches compress format.
431-
*
431+
*
432432
* @throws SecurityException if URI scheme is not content:// or extension doesn't match format
433433
*/
434434
internal fun validateOutputUri(uri: Uri, compressFormat: CompressFormat) {
435435
// Only allow content:// URIs for security reasons
436436
if (uri.scheme != ContentResolver.SCHEME_CONTENT) {
437437
throw SecurityException(
438-
"Only content:// URIs are allowed for security reasons. Received: ${uri.scheme}://"
438+
"Only content:// URIs are allowed for security reasons. Received: ${uri.scheme}://",
439439
)
440440
}
441441

@@ -453,7 +453,7 @@ internal object BitmapUtils {
453453
"File extension does not match compress format. " +
454454
"Expected one of: ${expectedExtensions.joinToString(", ")}, " +
455455
"Format: $compressFormat, " +
456-
"Path: $path"
456+
"Path: $path",
457457
)
458458
}
459459
}

0 commit comments

Comments
 (0)