-
-
Save johntbush/fb267002fbf07c9dbd9e to your computer and use it in GitHub Desktop.
its right
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
// if there is something there Cache it | |
// clearly Martin Odersky is not a progressive, well or left handed :) | |
if (entityEither.isRight && entityEither.right.get.isDefined){ | |
Cache.set(getCacheKey(entityName, lookupKey), entityEither.right.get.get, 60) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment