Skip to content

Conversation

@za-rudeboy
Copy link

Small code cleanups such as removing a redundant class cast, null check and making fields final that can be final

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Apr 3, 2019
* 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";
Copy link
Contributor

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.

Copy link
Author

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 :)

@za-rudeboy
Copy link
Author

Reverted the change

@philwebb philwebb added type: task A general task and removed status: waiting-for-triage An issue we've not yet triaged labels Apr 4, 2019
@philwebb philwebb added this to the 2.2.x milestone Apr 4, 2019
@snicoll snicoll self-assigned this Apr 5, 2019
@snicoll snicoll changed the title Some small code cleanups in the embedded tomcat cleanup Polish embedded tomcat setup Apr 5, 2019
@snicoll snicoll modified the milestones: 2.2.x, 2.2.0.M2 Apr 5, 2019
snicoll pushed a commit that referenced this pull request Apr 5, 2019
@snicoll snicoll closed this in dbf8245 Apr 5, 2019
snicoll added a commit that referenced this pull request Apr 5, 2019
* pr/16446:
  Polish "Polish embedded tomcat setup"
  Polish embedded tomcat setup
@snicoll
Copy link
Member

snicoll commented Apr 5, 2019

@za-rudeboy thank you for making your first contribution to Spring Boot. Your contribution is now merged on master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: task A general task

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants