aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/model/WifiAccessPoint.java
diff options
context:
space:
mode:
authorAngeloBAN <angelo@ban.org>2017-03-26 03:52:28 +0000
committerAngeloBAN <angelo@ban.org>2017-03-26 03:52:28 +0000
commit242db57805979426f3c9b3dd88ca8fbcfe66376e (patch)
tree4e2ac5a1c5b27777443fbe96baf848b9266ea71a /src/org/traccar/model/WifiAccessPoint.java
parentf094a26a9f66a85ee3111a4c8ca8a46276cdf968 (diff)
downloadtrackermap-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/WifiAccessPoint.java')
-rw-r--r--src/org/traccar/model/WifiAccessPoint.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/model/WifiAccessPoint.java b/src/org/traccar/model/WifiAccessPoint.java
index b18705420..87a77f3c0 100644
--- a/src/org/traccar/model/WifiAccessPoint.java
+++ b/src/org/traccar/model/WifiAccessPoint.java
@@ -15,9 +15,9 @@
*/
package org.traccar.model;
-import com.fasterxml.jackson.databind.annotation.JsonSerialize;
+import com.fasterxml.jackson.annotation.JsonInclude;
-@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
+@JsonInclude(JsonInclude.Include.NON_NULL)
public class WifiAccessPoint {
public static WifiAccessPoint from(String macAddress, int signalStrength) {