Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve PortAssigner#assignDynamicPorts javadocs #429

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

sleberknight
Copy link
Member

  • Add more details to the javadoc to better explain the differences in behavior when using HTTP vs HTTPS ports.
  • Emphasize the word 'replace' in a debugging log message.
  • Make the TestConfig nested class public inside ConfigResourceTest, because IntelliJ flagged this as a case where the class using it (TestApp) was public and had more visibility than a class it was using. While this didn't cause the test any problems, better to listen to IntelliJ when it tells you something! And it's correct that normally, this would have been an issue in production code.

Closes #428

* Add more details to the javadoc to better explain the
  differences in behavior when using HTTP vs HTTPS ports.
* Emphasize the word 'replace' in a debugging log message.
* Make the TestConfig nested class public inside
  ConfigResourceTest, because IntelliJ flagged this as
  a case where the class using it (TestApp) was public
  and had more visibility than a class it was using.
  While this didn't cause the test any problems, better
  to listen to IntelliJ when it tells you something!
  And it's correct that normally, this would have
  been an issue in production code.

Closes #428
@sleberknight sleberknight self-assigned this Jan 17, 2024
Copy link

sonarcloud bot commented Jan 17, 2024

@sleberknight sleberknight merged commit 7927d8c into master Jan 17, 2024
5 checks passed
@sleberknight sleberknight deleted the 428-improve-PortAssigner-javadoc branch January 17, 2024 02:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update PortAssigner javadoc to better explain behavior
1 participant