Commit 1c97d51e authored by Greg Messner's avatar Greg Messner Committed by GitHub
Browse files

Fixed typo in Pager example.

parent eb9eb7c7
...@@ -64,7 +64,7 @@ while (projectsPager.hasNext())) { ...@@ -64,7 +64,7 @@ while (projectsPager.hasNext())) {
``` ```
```java ```java
// Create a Pager instance that will used to build a list containing all the commits for project ID 1234 // Create a Pager instance that will be used to build a list containing all the commits for project ID 1234
Pager<Commit> commitPager = gitlabApi.getCommitsApi().getCommits(1234, 20); Pager<Commit> commitPager = gitlabApi.getCommitsApi().getCommits(1234, 20);
List<Commit> allCommits = new ArrayList<>(commitPager.getTotalItems()); List<Commit> allCommits = new ArrayList<>(commitPager.getTotalItems());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment