Raise the minimum Spring Framework version to 4.3.x

Closes gh-284
This commit is contained in:
Andy Wilkinson
2016-07-26 12:09:20 +01:00
parent 65571d98dd
commit f2717363f0
11 changed files with 15 additions and 8 deletions

View File

@@ -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);