private String pickRepository()

in src/main/java/com/ericsson/gerrit/plugins/gcconductor/executor/GcWorker.java [88:98]


  private String pickRepository() {
    try {
      RepositoryInfo repoInfo = queue.pick(name, queuedForLongerThan, queuedFrom);
      if (repoInfo != null) {
        return repoInfo.getPath();
      }
    } catch (GcQueueException e) {
      log.error("Unable to pick repository from the queue", e);
    }
    return null;
  }