summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/servlet/BranchGraphServlet.java
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2013-12-10 11:04:46 -0500
committerJames Moger <james.moger@gitblit.com>2013-12-10 11:04:46 -0500
commitcc47aad618137ee6481c8bc164d8074bd30fde9e (patch)
treec4eaf2da0a875cbb44ac6450404a08f86281ba37 /src/main/java/com/gitblit/servlet/BranchGraphServlet.java
parent0c0bb9c0c479b0c04e918f1dfb57e2998d0b3ecc (diff)
downloadgitblit-cc47aad618137ee6481c8bc164d8074bd30fde9e.tar.gz
gitblit-cc47aad618137ee6481c8bc164d8074bd30fde9e.zip
Remove @Inject references because they confuse JEE containers
Change-Id: I2e4a8e7424e7c62d1e89ca62a91423fdf3e36ac8
Diffstat (limited to 'src/main/java/com/gitblit/servlet/BranchGraphServlet.java')
-rw-r--r--src/main/java/com/gitblit/servlet/BranchGraphServlet.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/main/java/com/gitblit/servlet/BranchGraphServlet.java b/src/main/java/com/gitblit/servlet/BranchGraphServlet.java
index 3efe60de..1f6d3a87 100644
--- a/src/main/java/com/gitblit/servlet/BranchGraphServlet.java
+++ b/src/main/java/com/gitblit/servlet/BranchGraphServlet.java
@@ -36,8 +36,6 @@ import java.util.Set;
import java.util.TreeSet;
import javax.imageio.ImageIO;
-import javax.inject.Inject;
-import javax.inject.Singleton;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
@@ -55,7 +53,6 @@ import org.eclipse.jgit.revwalk.RevCommit;
import com.gitblit.Constants;
import com.gitblit.IStoredSettings;
import com.gitblit.Keys;
-import com.gitblit.Keys.web;
import com.gitblit.manager.IRepositoryManager;
import com.gitblit.manager.IRuntimeManager;
import com.gitblit.utils.JGitUtils;
@@ -67,7 +64,6 @@ import com.gitblit.utils.StringUtils;
* @author James Moger
*
*/
-@Singleton
public class BranchGraphServlet extends HttpServlet {
private static final long serialVersionUID = 1L;
@@ -85,7 +81,6 @@ public class BranchGraphServlet extends HttpServlet {
private final IRepositoryManager repositoryManager;
- @Inject
public BranchGraphServlet(
IRuntimeManager runtimeManager,
IRepositoryManager repositoryManager) {