From 33a04ec588f5f0f1145249a5c5163fef0f35fb1c Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 23 Sep 2018 19:14:49 +1200 Subject: Fix code style issues --- src/org/traccar/notificators/NotificatorFirebase.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/org/traccar/notificators') 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() { -- cgit v1.2.3