Raise the minimum Spring Framework version to 4.3.x
Closes gh-284
This commit is contained in:
@@ -203,8 +203,8 @@ public final class UriModifyingOperationPreprocessor implements OperationPreproc
|
||||
@Override
|
||||
public byte[] modifyContent(byte[] content, MediaType contentType) {
|
||||
String input;
|
||||
if (contentType != null && contentType.getCharSet() != null) {
|
||||
input = new String(content, contentType.getCharSet());
|
||||
if (contentType != null && contentType.getCharset() != null) {
|
||||
input = new String(content, contentType.getCharset());
|
||||
}
|
||||
else {
|
||||
input = new String(content);
|
||||
|
||||
Reference in New Issue
Block a user