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