diff options
author | Eran (ev672n), Vosk <ev672n@att.com> | 2018-10-15 10:52:26 +0300 |
---|---|---|
committer | Eran (ev672n), Vosk <ev672n@att.com> | 2018-10-15 10:52:26 +0300 |
commit | 25aa909490e9e91475e1a0ae3a186a6a17fe13fe (patch) | |
tree | 3dddcbc54f2d00b4077aa79691420f98d24b1406 /dcaedt_catalog/commons/src/main | |
parent | 8571b0c392db6913a02cf05bb7566ebefe556ee4 (diff) |
security check issues
updating spring version, using security check issues
Change-Id: I55018c335f4167709dc92de891c224fcdad1dc7a
Issue-ID: SDC-1829
Signed-off-by: Eran (ev672n), Vosk <ev672n@att.com>
Diffstat (limited to 'dcaedt_catalog/commons/src/main')
-rw-r--r-- | dcaedt_catalog/commons/src/main/java/org/onap/sdc/dcae/catalog/commons/JSONHttpMessageConverter.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dcaedt_catalog/commons/src/main/java/org/onap/sdc/dcae/catalog/commons/JSONHttpMessageConverter.java b/dcaedt_catalog/commons/src/main/java/org/onap/sdc/dcae/catalog/commons/JSONHttpMessageConverter.java index e711279..31f4c5c 100644 --- a/dcaedt_catalog/commons/src/main/java/org/onap/sdc/dcae/catalog/commons/JSONHttpMessageConverter.java +++ b/dcaedt_catalog/commons/src/main/java/org/onap/sdc/dcae/catalog/commons/JSONHttpMessageConverter.java @@ -91,8 +91,8 @@ public class JSONHttpMessageConverter extends AbstractHttpMessageConverter<Objec private Charset getCharset(HttpHeaders theHeaders) { if (theHeaders != null && theHeaders.getContentType() != null && - theHeaders.getContentType().getCharSet() != null) { - return theHeaders.getContentType().getCharSet(); + theHeaders.getContentType().getCharset() != null) { + return theHeaders.getContentType().getCharset(); } return DEFAULT_CHARSET; } |