Created
January 12, 2016 20:16
-
-
Save jacobmoncur/3d7103e54651f0a3f914 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val snapshot = try { | |
cache[key] ?: return null | |
} catch (e: IOException) { | |
// Give up because the cache cannot be read. | |
return null | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment