Commits

Sergei Vavinov committed 8207793

removed redundant check

  • Participants
  • Parent commits 45ef0c6

Comments (0)

Files changed (1)

src/main/java/ru/yandex/bolts/collection/impl/AbstractCollectionF.java

 
     @Override
     public ListF<ListF<E>> paginate(int pageSize) {
-        if (pageSize <= 0) throw new IllegalArgumentException();
         return iterator().paginate(pageSize).toList();
     }
 } //~