-
Notifications
You must be signed in to change notification settings - Fork 41.6k
Polish embedded tomcat setup #16446
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
Polish embedded tomcat setup #16446
Conversation
…ass or in any tests. Might have been copied from TomcatServletWebServerFactory which is referenced in tests
| * The class name of default protocol used. | ||
| */ | ||
| public static final String DEFAULT_PROTOCOL = "org.apache.coyote.http11.Http11NioProtocol"; | ||
| private static final String DEFAULT_PROTOCOL = "org.apache.coyote.http11.Http11NioProtocol"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we can make this private in case someone else is relying on it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're right, sorry. I was thinking like someone working on their own final codebase as opposed to one that's used by others as a library :)
|
Reverted the change |
* pr/16446: Polish "Polish embedded tomcat setup" Polish embedded tomcat setup
|
@za-rudeboy thank you for making your first contribution to Spring Boot. Your contribution is now merged on |
Small code cleanups such as removing a redundant class cast, null check and making fields final that can be final