-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Standalone] Introduce FileAction.tagsOrEmpty (#3132)
## Description This PR introduces Introduce `FileAction.tagsOrEmpty` to factor out the common pattern `Option(tags).getOrElse(Map.empty)`. ## How was this patch tested? Existing unit tests. ## Does this PR introduce _any_ user-facing changes? No Signed-off-by: Sergiu Pocol <sergiu.pocol@databricks.com>
- Loading branch information
1 parent
a5263cc
commit 420d9e0
Showing
2 changed files
with
9 additions
and
7 deletions.
There are no files selected for viewing
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
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