Polishing
This commit is contained in:
@@ -108,6 +108,7 @@ public class RequestPartServletServerHttpRequestTests {
|
||||
return headers;
|
||||
}
|
||||
};
|
||||
|
||||
byte[] bytes = {(byte) 0xC4};
|
||||
mockRequest.setParameter("part", new String(bytes, StandardCharsets.ISO_8859_1));
|
||||
ServerHttpRequest request = new RequestPartServletServerHttpRequest(mockRequest, "part");
|
||||
@@ -125,6 +126,7 @@ public class RequestPartServletServerHttpRequestTests {
|
||||
return headers;
|
||||
}
|
||||
};
|
||||
|
||||
byte[] bytes = {(byte) 0xC4};
|
||||
mockRequest.setParameter("part", new String(bytes, StandardCharsets.ISO_8859_1));
|
||||
mockRequest.setCharacterEncoding("iso-8859-1");
|
||||
|
||||
Reference in New Issue
Block a user