This repository has been archived by the owner on Nov 22, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates description/updatedBy/createdBy fields to empty from null.
There was unhealthy mixing and matching of null vs. empty strings for these non-critical fields. SanitizedSecret#fromSecretSeriesAndContent in particular was causing a nasty CLI bug where it was the singular place createdBy and updatedBy were coexerced to null instead of empty string. Some places used Optional<String> for description, but it really isn't necessary. Constructors now accept null but will only store and emit empty string for these fields. Also converts SecretSeries to using AutoValue. It needed to be changed and moving it to an AutoValue object removed a bunch of code.
- Loading branch information
Justin Cummins
committed
Jun 8, 2015
1 parent
37abd25
commit 2bdd2a0
Showing
20 changed files
with
136 additions
and
208 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
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
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
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
Oops, something went wrong.