private LocalDateTime getIndexTimeStamp()

in src/main/java/com/ericsson/gerrit/plugins/highavailability/autoreindex/IndexTs.java [84:97]


    private LocalDateTime getIndexTimeStamp() {
      switch (index) {
        case CHANGE:
          return changeTs;
        case GROUP:
          return groupTs;
        case ACCOUNT:
          return accountTs;
        case PROJECT:
          return projectTs;
        default:
          throw new IllegalArgumentException("Unsupported index " + index);
      }
    }