Electric-Coin-Company / kotlin-bip39

A concise implementation of BIP-0039 in Kotlin for Android. In order, it prioritizes being secure, concise and idiomatic.
MIT License
35 stars 8 forks source link

Leverage new Kotlin AutoCloseable Interface #160

Open ccjernigan opened 1 year ago

ccjernigan commented 1 year ago

Is your feature request related to a problem? Please describe.

As part of #158, an internal Closeable interface was added. This interface is deprecated by design, as it will be replaced by a Kotlin language feature

Describe the solution you'd like

Once the Kotlin Closeable interface is stable (doesn't require an opt-in annotation), we should leverage it instead of our own interface.