Created
October 27, 2016 17:03
-
-
Save mmollaverdi/eb3bd1c8a96bcaf06c5cecadffcc300e to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| def getOwnerName(systemId: String): Option[String] = { | |
| systemsMap.get(systemId).flatMap(system => ownersMap.get(system.ownerId)).map(_.name) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment