summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/tickets/NullTicketService.java
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2014-05-16 16:16:32 -0400
committerJames Moger <james.moger@gitblit.com>2014-07-03 16:57:47 -0400
commitaa1361d04cfe09f90e7d8bece90c00dd6e4185bb (patch)
treec394b3d49e0974afb1e13bcea859cb29e038f8b3 /src/main/java/com/gitblit/tickets/NullTicketService.java
parent6720653097764f7c51fac88b26682f6fe683fc7d (diff)
downloadgitblit-aa1361d04cfe09f90e7d8bece90c00dd6e4185bb.tar.gz
gitblit-aa1361d04cfe09f90e7d8bece90c00dd6e4185bb.zip
Replace Dagger with Guice 4.0 beta and update Guava to 16.0.1
Diffstat (limited to 'src/main/java/com/gitblit/tickets/NullTicketService.java')
-rw-r--r--src/main/java/com/gitblit/tickets/NullTicketService.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/com/gitblit/tickets/NullTicketService.java b/src/main/java/com/gitblit/tickets/NullTicketService.java
index d410cdd0..b8882788 100644
--- a/src/main/java/com/gitblit/tickets/NullTicketService.java
+++ b/src/main/java/com/gitblit/tickets/NullTicketService.java
@@ -19,6 +19,9 @@ import java.util.Collections;
import java.util.List;
import java.util.Set;
+import javax.inject.Inject;
+import javax.inject.Singleton;
+
import com.gitblit.manager.INotificationManager;
import com.gitblit.manager.IPluginManager;
import com.gitblit.manager.IRepositoryManager;
@@ -35,8 +38,10 @@ import com.gitblit.models.TicketModel.Change;
* @author James Moger
*
*/
+@Singleton
public class NullTicketService extends ITicketService {
+ @Inject
public NullTicketService(
IRuntimeManager runtimeManager,
IPluginManager pluginManager,