From 7b5b00d147dfadbe7f455d8a1e9a00ada5984fa1 Mon Sep 17 00:00:00 2001 From: James Moger Date: Thu, 17 Apr 2014 22:44:28 -0400 Subject: [PATCH] Remove @Inject annotation --- src/main/java/com/gitblit/utils/IdGenerator.java | 3 --- 1 file changed, 3 deletions(-) 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()); } -- 2.39.5