forked from line/armeria
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use SELF for Builder Self Type Parameter (part2) (line#5733)
Motivation: See line#5684 for the motivation. Modifications: - Refactored builder classes to use the SELF type parameter for the builder's self-referencing methods. Result: - Reduced the need for cumbersome and error-prone method overrides. - (Breaking) These are all annotated with `@UnstableApi`. - `AbstractDnsResolverBuilder` is now `AbstractDnsResolverBuilder<SELF>` - `AbstractRuleBuilder` is now `AbstractRuleBuilder<SELF>` - `AbstractRuleWithContentBuilder` is now `AbstractRuleWithContentBuilder<SELF>` - `AbstractCircuitBreakerMappingBuilder` is now `AbstractCircuitBreakerMappingBuilder<SELF>` - `AbstractDynamicEndpointGroupBuilder` is now `AbstractDynamicEndpointGroupBuilder<SELF>` - `DynamicEndpointGroupSetters` is now `DynamicEndpointGroupSetters<SELF>` - `AbstractCuratorFrameworkBuilder` is now `AbstractCuratorFrameworkBuilder<SELF>`
- Loading branch information
Showing
47 changed files
with
369 additions
and
2,029 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
Oops, something went wrong.