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

Remove unnecessary parentheses and add static final field MockPortResolver#getServerPort #15875

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

nomoreFt
Copy link
Contributor

@nomoreFt nomoreFt commented Oct 4, 2024

Description:

This pull request simplifies the MockPortResolver class by:

  • Removing unnecessary parentheses to enhance code readability.
  • Adding a static final field for the "https" scheme to improve maintainability and avoid duplication.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Oct 4, 2024
@sjohnr sjohnr self-assigned this Oct 10, 2024
@sjohnr sjohnr added in: web An issue in web modules (web, webmvc) type: task A general task type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged type: task A general task labels Oct 10, 2024
@sjohnr sjohnr merged commit 8f1c892 into spring-projects:main Nov 13, 2024
6 checks passed
@sjohnr sjohnr added this to the 6.4.0 milestone Nov 13, 2024
@sjohnr sjohnr added type: task A general task and removed type: enhancement A general enhancement labels Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web An issue in web modules (web, webmvc) type: task A general task
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants