From 47a5fc014282314ef8c2b719a961c01c6cd2b822 Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Fri, 27 Jul 2018 09:18:50 +0500 Subject: Move notificators to appropriate package and rename. --- src/org/traccar/notification/NotificatorManager.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/org/traccar/notification/NotificatorManager.java') diff --git a/src/org/traccar/notification/NotificatorManager.java b/src/org/traccar/notification/NotificatorManager.java index 147de47d3..a3b13ef25 100644 --- a/src/org/traccar/notification/NotificatorManager.java +++ b/src/org/traccar/notification/NotificatorManager.java @@ -24,15 +24,17 @@ import java.util.Set; import org.traccar.Context; import org.traccar.helper.Log; import org.traccar.model.Typed; +import org.traccar.notificators.NotificatorNull; +import org.traccar.notificators.Notificator; public final class NotificatorManager { - private static final String DEFAULT_WEB_NOTIFICATOR = "org.traccar.notification.NotificationWeb"; - private static final String DEFAULT_MAIL_NOTIFICATOR = "org.traccar.notification.NotificationMail"; - private static final String DEFAULT_SMS_NOTIFICATOR = "org.traccar.notification.NotificationSms"; + private static final String DEFAULT_WEB_NOTIFICATOR = "org.traccar.notificators.NotificatorWeb"; + private static final String DEFAULT_MAIL_NOTIFICATOR = "org.traccar.notificators.NotificatorMail"; + private static final String DEFAULT_SMS_NOTIFICATOR = "org.traccar.notificators.NotificatorSms"; private final Map notificators = new HashMap<>(); - private static final Notificator NULL_NOTIFICATOR = new NotificationNull(); + private static final Notificator NULL_NOTIFICATOR = new NotificatorNull(); public NotificatorManager() { final String[] types = Context.getConfig().getString("notificator.types", "").split(","); -- cgit v1.2.3