-
Notifications
You must be signed in to change notification settings - Fork 263
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make MapToolServer's ID explicitly nullable
ServiceAnnouncer requires a non-null String, but an empty server ID is not well-formed so a ServiceAnnouncer shouldn't be created. This was previously handled by MapToolServer being passed null config and the absence of a port to give was sufficient to prevent creating a ServiceAnnouncer with an empty ID, but we can be more defensive about this and check for a null pointer.
- Loading branch information
1 parent
673b1a6
commit 39bdbfa
Showing
2 changed files
with
3 additions
and
3 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