diff options
Diffstat (limited to 'datafile-commons')
-rw-r--r-- | datafile-commons/pom.xml | 3 | ||||
-rw-r--r-- | datafile-commons/src/main/java/org/onap/dcaegen2/collectors/datafile/model/CommonFunctions.java | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/datafile-commons/pom.xml b/datafile-commons/pom.xml index d018ff79..4b812aa2 100644 --- a/datafile-commons/pom.xml +++ b/datafile-commons/pom.xml @@ -70,7 +70,6 @@ <dependency> <groupId>org.springframework</groupId> <artifactId>spring-web</artifactId> - <version>5.0.5.RELEASE</version> - </dependency> + </dependency> </dependencies> </project> diff --git a/datafile-commons/src/main/java/org/onap/dcaegen2/collectors/datafile/model/CommonFunctions.java b/datafile-commons/src/main/java/org/onap/dcaegen2/collectors/datafile/model/CommonFunctions.java index e02476a5..3be7bcf6 100644 --- a/datafile-commons/src/main/java/org/onap/dcaegen2/collectors/datafile/model/CommonFunctions.java +++ b/datafile-commons/src/main/java/org/onap/dcaegen2/collectors/datafile/model/CommonFunctions.java @@ -24,7 +24,7 @@ import com.google.gson.GsonBuilder; public class CommonFunctions { - private static Gson gson = new GsonBuilder().create(); + private static Gson gson = new GsonBuilder().serializeNulls().create(); private CommonFunctions() {} |