James Moger
2014-09-17 5785497bca7d8c18b76d9d18333a1ece0372a8e6
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());
  }