Last active
April 17, 2021 14:10
-
-
Save zivce/fb5dec78bb263e3b6cb0dad1e9d74e4d 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
| public Optional<StoreConfiguration> update(Store store, String value) { | |
| return store.getConfigurationId() // Optional<UUID> | |
| .flatMap(storeConfigurationRepository::findById) // Optional<StoreConfiguration> | |
| .map(config -> this.updateStoreConfiguration(store,value)) // Optional<StoreConfiguration> | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment