aboutsummaryrefslogtreecommitdiff
path: root/src
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
parent55f7d7ab29772267e49489993a978c4eb83f3fe4 (diff)
downloadtraccar-server-7d5a18e6fd2b798873a719b361c9a7a61a236d6b.tar.gz
traccar-server-7d5a18e6fd2b798873a719b361c9a7a61a236d6b.tar.bz2
traccar-server-7d5a18e6fd2b798873a719b361c9a7a61a236d6b.zip
Update NotificatorFirebase.java
formatting-reverted
Diffstat (limited to 'src')
-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);
+ }
+ });
}
}