From 242db57805979426f3c9b3dd88ca8fbcfe66376e Mon Sep 17 00:00:00 2001 From: AngeloBAN Date: Sun, 26 Mar 2017 03:52:28 +0000 Subject: Replace deprecated JsonSerialize with JsonInclude --- src/org/traccar/model/WifiAccessPoint.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/org/traccar/model/WifiAccessPoint.java') 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) { -- cgit v1.2.3