summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/manager/NotificationManager.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/gitblit/manager/NotificationManager.java')
-rw-r--r--src/main/java/com/gitblit/manager/NotificationManager.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/com/gitblit/manager/NotificationManager.java b/src/main/java/com/gitblit/manager/NotificationManager.java
index 69a611bb..63f064e5 100644
--- a/src/main/java/com/gitblit/manager/NotificationManager.java
+++ b/src/main/java/com/gitblit/manager/NotificationManager.java
@@ -20,6 +20,7 @@ import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
+import javax.inject.Inject;
import javax.mail.Message;
import org.slf4j.Logger;
@@ -48,6 +49,7 @@ public class NotificationManager implements INotificationManager {
private final MailService mailService;
+ @Inject
public NotificationManager(IStoredSettings settings) {
this.settings = settings;
this.mailService = new MailService(settings);