diff options
author | AngeloBAN <angelo@ban.org> | 2017-03-26 03:52:28 +0000 |
---|---|---|
committer | AngeloBAN <angelo@ban.org> | 2017-03-26 03:52:28 +0000 |
commit | 242db57805979426f3c9b3dd88ca8fbcfe66376e (patch) | |
tree | 4e2ac5a1c5b27777443fbe96baf848b9266ea71a /src/org/traccar/model/Network.java | |
parent | f094a26a9f66a85ee3111a4c8ca8a46276cdf968 (diff) | |
download | trackermap-server-242db57805979426f3c9b3dd88ca8fbcfe66376e.tar.gz trackermap-server-242db57805979426f3c9b3dd88ca8fbcfe66376e.tar.bz2 trackermap-server-242db57805979426f3c9b3dd88ca8fbcfe66376e.zip |
Replace deprecated JsonSerialize with JsonInclude
Diffstat (limited to 'src/org/traccar/model/Network.java')
-rw-r--r-- | src/org/traccar/model/Network.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/model/Network.java b/src/org/traccar/model/Network.java index c5be95887..2d56950f1 100644 --- a/src/org/traccar/model/Network.java +++ b/src/org/traccar/model/Network.java @@ -15,12 +15,12 @@ */ package org.traccar.model; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import com.fasterxml.jackson.annotation.JsonInclude; import java.util.ArrayList; import java.util.Collection; -@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL) +@JsonInclude(JsonInclude.Include.NON_NULL) public class Network { public Network() { |