Did you know `try/catch` can be an expression? ```...
# announcements
o
Did you know
try/catch
can be an expression?
Copy code
val snapshot = try {
            cache[key] ?: return null
        } catch (e: IOException) {
            // Give up because the cache cannot be read.
            return null
        }
snapshots
gets type as
DiskLruCache.Snapshot
, no nulls from okhttp3 code converted to Kotlin