Skip to content

Conversation

@roberto-git0
Copy link

Updates the shark modules to use Okio2 and addresses newer Kotlin issues.

  1. Okio Compliance Updated the code to align with the Okio 2.x API changes:
    a) Extension Functions: Replaced static calls like Okio.buffer() and Okio.source() with their extension function counterparts (.buffer(), .source())
    b) Properties: Migrated from getter-style functions to Kotlin properties where applicable (e.g., buffer.size instead of buffer.size())

  2. Kotlin Compliance Addressed issues:
    a) String Casing: Replaced deprecated toLowerCase()/toUpperCase() with lowercase()/uppercase() to ensure consistent behavior across platforms.

@CLAassistant
Copy link

CLAassistant commented Jan 28, 2026

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants