aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar
diff options
context:
space:
mode:
authorwkhaksar <31837615+wkhaksar@users.noreply.github.com>2021-11-04 21:03:48 +0100
committerGitHub <noreply@github.com>2021-11-04 21:03:48 +0100
commit7d5a18e6fd2b798873a719b361c9a7a61a236d6b (patch)
tree7e307969b64df5602f6e3d3a8c4b2c882ba85f04 /src/main/java/org/traccar
parent55f7d7ab29772267e49489993a978c4eb83f3fe4 (diff)
downloadtrackermap-server-7d5a18e6fd2b798873a719b361c9a7a61a236d6b.tar.gz
trackermap-server-7d5a18e6fd2b798873a719b361c9a7a61a236d6b.tar.bz2
trackermap-server-7d5a18e6fd2b798873a719b361c9a7a61a236d6b.zip
Update NotificatorFirebase.java
formatting-reverted
Diffstat (limited to 'src/main/java/org/traccar')
-rw-r--r--src/main/java/org/traccar/notificators/NotificatorFirebase.java18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/main/java/org/traccar/notificators/NotificatorFirebase.java b/src/main/java/org/traccar/notificators/NotificatorFirebase.java
index 8951c8892..b452205f6 100644
--- a/src/main/java/org/traccar/notificators/NotificatorFirebase.java
+++ b/src/main/java/org/traccar/notificators/NotificatorFirebase.java
@@ -83,15 +83,15 @@ public class NotificatorFirebase extends Notificator {
Context.getClient().target(url).request()
.header("Authorization", "key=" + key)
.async().post(Entity.json(message), new InvocationCallback<Object>() {
- @Override
- public void completed(Object o) {
- }
-
- @Override
- public void failed(Throwable throwable) {
- LOGGER.warn("Firebase notification error", throwable);
- }
- });
+ @Override
+ public void completed(Object o) {
+ }
+
+ @Override
+ public void failed(Throwable throwable) {
+ LOGGER.warn("Firebase notification error", throwable);
+ }
+ });
}
}