aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-08-30 08:14:38 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-08-30 08:14:38 +1200
commit5a9a1f8eb82f08d8e06bd5a19f0bf3b374860752 (patch)
treee8e5f3ffdc5fd89842c4aa8aa6e310d01c8cebd0
parent4b1b94d63ee106ef8c61d9f8d976b601483ad14e (diff)
downloadtraccar-server-5a9a1f8eb82f08d8e06bd5a19f0bf3b374860752.tar.gz
traccar-server-5a9a1f8eb82f08d8e06bd5a19f0bf3b374860752.tar.bz2
traccar-server-5a9a1f8eb82f08d8e06bd5a19f0bf3b374860752.zip
Fix a type in context class
-rw-r--r--src/org/traccar/Context.java2
-rw-r--r--src/org/traccar/database/NotificationManager.java4
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);
}
}