Skip to content

Commit 66bc214

Browse files
committed
Replace spaces with tabs
1 parent 45ad183 commit 66bc214

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

org.springframework.web/src/main/java/org/springframework/http/server/ServletServerHttpRequest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,9 @@ public HttpHeaders getHeaders() {
111111
this.servletRequest.getCharacterEncoding() != null) {
112112
MediaType oldContentType = this.headers.getContentType();
113113
Charset charSet = Charset.forName(this.servletRequest.getCharacterEncoding());
114-
Map<String, String> params = new HashMap<String, String>(oldContentType.getParameters());
115-
params.put("charset", charSet.toString());
116-
MediaType newContentType = new MediaType(oldContentType.getType(), oldContentType.getSubtype(), params);
114+
Map<String, String> params = new HashMap<String, String>(oldContentType.getParameters());
115+
params.put("charset", charSet.toString());
116+
MediaType newContentType = new MediaType(oldContentType.getType(), oldContentType.getSubtype(), params);
117117
this.headers.setContentType(newContentType);
118118
}
119119
if (this.headers.getContentLength() == -1 && this.servletRequest.getContentLength() != -1) {

0 commit comments

Comments
 (0)