-
Notifications
You must be signed in to change notification settings - Fork 895
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow specifying no default port when building PropertiesEndpointGroup
Motivation: A user does not always want to specify the default port number when building a PropertiesEndpointGroup, especially for HTTP and HTTPS endpoints that run on their default ports. Modifications: - Add two overloaded factory methods that do not require 'defaultPort' - Fix off-by-one validation bug with 'defaultPort' - Overall clean-up on Javadoc and exception messages Result: - A user can build PropertiesEndpointGroup without defaultPort - Specifying 0 as defaultPort will trigger an exception at earlier point.
- Loading branch information
Showing
3 changed files
with
106 additions
and
19 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