forked from square/dagger
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleanup usages of
Key.Builder
, use KeyFactory
instead.
In a follow-up CL we will need to use the `CompilerOptions` when creating keys, so this CL replaces usages of `Key.Builder` with `KeyFactory` where we can easily get access to the `CompilerOptions`. In addition, I've removed some unnecessary parts of `KeyFactoryTest` that was testing more of the implementation details of `KeyFactory` and relied heavily on `Key.Builder`. RELNOTES=N/A PiperOrigin-RevId: 535366633
- Loading branch information
Showing
3 changed files
with
8 additions
and
53 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