Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
佳 邓
Gitlab4j Api
Commits
ddd4304b
Unverified
Commit
ddd4304b
authored
Apr 26, 2023
by
Jens Lidestrom
Committed by
GitHub
Apr 26, 2023
Browse files
Make Pager constructor public (#965)
This allows clients to implement custom operation more easily.
parent
999b6fb7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/gitlab4j/api/Pager.java
View file @
ddd4304b
...
@@ -69,7 +69,7 @@ public class Pager<T> implements Iterator<List<T>>, Constants {
...
@@ -69,7 +69,7 @@ public class Pager<T> implements Iterator<List<T>>, Constants {
* @param pathArgs HTTP path arguments
* @param pathArgs HTTP path arguments
* @throws GitLabApiException if any error occurs
* @throws GitLabApiException if any error occurs
*/
*/
Pager
(
AbstractApi
api
,
Class
<
T
>
type
,
int
itemsPerPage
,
MultivaluedMap
<
String
,
String
>
queryParams
,
Object
...
pathArgs
)
throws
GitLabApiException
{
public
Pager
(
AbstractApi
api
,
Class
<
T
>
type
,
int
itemsPerPage
,
MultivaluedMap
<
String
,
String
>
queryParams
,
Object
...
pathArgs
)
throws
GitLabApiException
{
javaType
=
mapper
.
getTypeFactory
().
constructCollectionType
(
List
.
class
,
type
);
javaType
=
mapper
.
getTypeFactory
().
constructCollectionType
(
List
.
class
,
type
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment