diff options
-rw-r--r-- | src/org/traccar/Context.java | 2 | ||||
-rw-r--r-- | src/org/traccar/database/NotificationManager.java | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/org/traccar/Context.java b/src/org/traccar/Context.java index d32837755..c7359e76c 100644 --- a/src/org/traccar/Context.java +++ b/src/org/traccar/Context.java @@ -130,7 +130,7 @@ public final class Context { private static EventForwarder eventForwarder; - public static EventForwarder getEventForvarder() { + public static EventForwarder getEventForwarder() { return eventForwarder; } diff --git a/src/org/traccar/database/NotificationManager.java b/src/org/traccar/database/NotificationManager.java index 911c5d2dc..779f42483 100644 --- a/src/org/traccar/database/NotificationManager.java +++ b/src/org/traccar/database/NotificationManager.java @@ -68,8 +68,8 @@ public class NotificationManager { } } } - if (Context.getEventForvarder() != null) { - Context.getEventForvarder().forwardEvent(event, position); + if (Context.getEventForwarder() != null) { + Context.getEventForwarder().forwardEvent(event, position); } } |