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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nomoreFt
Copy link

@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
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: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants