From: James Moger Date: Fri, 18 Apr 2014 02:44:28 +0000 (-0400) Subject: Remove @Inject annotation X-Git-Tag: v1.5.0~33 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7b5b00d147dfadbe7f455d8a1e9a00ada5984fa1;p=gitblit.git Remove @Inject annotation --- diff --git a/src/main/java/com/gitblit/utils/IdGenerator.java b/src/main/java/com/gitblit/utils/IdGenerator.java index d2c1cb23..b14a6378 100644 --- a/src/main/java/com/gitblit/utils/IdGenerator.java +++ b/src/main/java/com/gitblit/utils/IdGenerator.java @@ -17,8 +17,6 @@ package com.gitblit.utils; import java.util.Random; import java.util.concurrent.atomic.AtomicInteger; -import javax.inject.Inject; - /** Simple class to produce 4 billion keys randomly distributed. */ public class IdGenerator { /** Format an id created by this class as a hex string. */ @@ -34,7 +32,6 @@ public class IdGenerator { private final AtomicInteger gen; - @Inject public IdGenerator() { gen = new AtomicInteger(new Random().nextInt()); }