summaryrefslogtreecommitdiffstats
path: root/dcaedt_catalog/commons
diff options
context:
space:
mode:
Diffstat (limited to 'dcaedt_catalog/commons')
-rw-r--r--dcaedt_catalog/commons/pom.xml2
-rw-r--r--dcaedt_catalog/commons/src/main/java/org/onap/sdc/dcae/catalog/commons/JSONHttpMessageConverter.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/dcaedt_catalog/commons/pom.xml b/dcaedt_catalog/commons/pom.xml
index a50b287..2008b6c 100644
--- a/dcaedt_catalog/commons/pom.xml
+++ b/dcaedt_catalog/commons/pom.xml
@@ -130,7 +130,7 @@
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
- <version>4.3.17.RELEASE</version>
+ <version>5.0.9.RELEASE</version>
</dependency>
</dependencies>
<properties>
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;
}