PageUtils.newRequest(0, Integer.MAX_VALUE) returns 1 item, but PageUtils.newRequest(0, 2) returns 2

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 2.6.0
    • Affects Version/s: 2.5.1
    • Component/s: API - Java
    • None

      https://bitbucket.org/Commander_Duck/stash-pull-request-automerging/commits/eba74c582494a7ddba2d91cc27a477832a80421f?at=master#Lsrc/main/java/ru/yandex/stash/plugin/MergePullRequestsTask.javaT47

      This func returns only 1 value, but if you change Integer.MAX_VALUE to '2'. It will return 2 values... Strange!

      BTW, what is the correct input value, in case I need all values....

              Assignee:
              CharlesA
              Reporter:
              Igor Slinko
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: