private static @Nullable Filter createChangeFilter(@Nullable Long number, boolean before) {
    return number == null ? null : changeList -> {
      return before ? changeList.getNumber() <= number : changeList.getNumber() >= number;
    };
  }
private static @Nullable Filter createChangeFilter(@Nullable Long number, boolean before)