James Moger
2014-11-04 4e84166db5c5538e3984d9d2d6bb1f9902e65ee0
src/main/java/com/gitblit/utils/IdGenerator.java
@@ -17,8 +17,6 @@
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 @@
  private final AtomicInteger gen;
  @Inject
  public IdGenerator() {
    gen = new AtomicInteger(new Random().nextInt());
  }