aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/model/CellTower.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-03-26 18:57:18 +1300
committerGitHub <noreply@github.com>2017-03-26 18:57:18 +1300
commit661ff639ad42c9aafbee918cc374d39b9aee871b (patch)
treeab18c84c814284959a4661cb4a0a60cb05e66c21 /src/org/traccar/model/CellTower.java
parentca071f5d23776b6680366217b226dc019308f10b (diff)
parent242db57805979426f3c9b3dd88ca8fbcfe66376e (diff)
downloadtraccar-server-661ff639ad42c9aafbee918cc374d39b9aee871b.tar.gz
traccar-server-661ff639ad42c9aafbee918cc374d39b9aee871b.tar.bz2
traccar-server-661ff639ad42c9aafbee918cc374d39b9aee871b.zip
Merge pull request #3055 from AngeloBAN/JsonFixes
Replace deprecated JsonSerialize with JsonInclude
Diffstat (limited to 'src/org/traccar/model/CellTower.java')
-rw-r--r--src/org/traccar/model/CellTower.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/model/CellTower.java b/src/org/traccar/model/CellTower.java
index 53866b59a..2eb56dd33 100644
--- a/src/org/traccar/model/CellTower.java
+++ b/src/org/traccar/model/CellTower.java
@@ -15,10 +15,10 @@
*/
package org.traccar.model;
-import com.fasterxml.jackson.databind.annotation.JsonSerialize;
+import com.fasterxml.jackson.annotation.JsonInclude;
import org.traccar.Context;
-@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
+@JsonInclude(JsonInclude.Include.NON_NULL)
public class CellTower {
public static CellTower from(int mcc, int mnc, int lac, long cid) {