Skip to content

Ignore null Locale in MockHttpServletResponse #26493

Closed
@sbrannen

Description

@sbrannen

This is a follow-up to #26488.

Although the Javadoc for javax.servlet.ServletResponse.setLocale(Locale) does not state how a null value for the supplied Locale should be handled, both Tomcat and Jetty simply ignore a null value.

We will therefore do the same in MockHttpServletResponse.

Metadata

Metadata

Assignees

Labels

in: testIssues in the test modulein: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions