aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-09-23 19:14:49 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2018-09-23 19:14:49 +1200
commit33a04ec588f5f0f1145249a5c5163fef0f35fb1c (patch)
treec64b8cf067e347adac51f1d3e97fe555f7734377
parent517382ccc972d6d1ba2b5fd2d912cc6e5ac83902 (diff)
downloadtrackermap-server-33a04ec588f5f0f1145249a5c5163fef0f35fb1c.tar.gz
trackermap-server-33a04ec588f5f0f1145249a5c5163fef0f35fb1c.tar.bz2
trackermap-server-33a04ec588f5f0f1145249a5c5163fef0f35fb1c.zip
Fix code style issues
-rw-r--r--src/org/traccar/notificators/NotificatorFirebase.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/org/traccar/notificators/NotificatorFirebase.java b/src/org/traccar/notificators/NotificatorFirebase.java
index a01726889..75d325de2 100644
--- a/src/org/traccar/notificators/NotificatorFirebase.java
+++ b/src/org/traccar/notificators/NotificatorFirebase.java
@@ -37,13 +37,15 @@ public class NotificatorFirebase extends Notificator {
private String key;
public static class Notification {
- public String body;
+ @JsonProperty("body")
+ private String body;
}
public static class Message {
@JsonProperty("registration_ids")
- public String[] tokens;
- public Notification notification;
+ private String[] tokens;
+ @JsonProperty("notification")
+ private Notification notification;
}
public NotificatorFirebase() {