@Override
  public void resetEntries(@NotNull List<String> entries) {
    synchronized (myLock) {
      myEntries.clear();
      myEntries.addAll(ContainerUtil.getFirstItems(entries, getMaxHistorySize()));
      incModificationCount();
    }
  }
@Override
  public void resetEntries(@NotNull List<String> entries)