Skip to content

Commit ddd4304

Browse files
authored
Make Pager constructor public (#965)
This allows clients to implement custom operation more easily.
1 parent 999b6fb commit ddd4304

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/gitlab4j/api/Pager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public class Pager<T> implements Iterator<List<T>>, Constants {
6969
* @param pathArgs HTTP path arguments
7070
* @throws GitLabApiException if any error occurs
7171
*/
72-
Pager(AbstractApi api, Class<T> type, int itemsPerPage, MultivaluedMap<String, String> queryParams, Object... pathArgs) throws GitLabApiException {
72+
public Pager(AbstractApi api, Class<T> type, int itemsPerPage, MultivaluedMap<String, String> queryParams, Object... pathArgs) throws GitLabApiException {
7373

7474
javaType = mapper.getTypeFactory().constructCollectionType(List.class, type);
7575

0 commit comments

Comments
 (0)