Skip to content

Commit

Permalink
toLowerCase -> lowercase
Browse files Browse the repository at this point in the history
Differential Revision: D69446253

fbshipit-source-id: 0393026b7c31626021bee2ccfba40f83644eac71
  • Loading branch information
Tiangong Li authored and facebook-github-bot committed Feb 11, 2025
1 parent 5311629 commit 868f6d7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ object MediaUtils {

@JvmStatic
fun extractMime(@NonNull path: String): String? {
val extension = extractExtension(path)?.toLowerCase(Locale.US) ?: return null
val extension = extractExtension(path)?.lowercase(Locale.US) ?: return null

// If we did not find a mime type for the extension specified, check our additional
// extension/mime-type mappings.
Expand Down

0 comments on commit 868f6d7

Please sign in to comment.