Skip to content

Commit 973e294

Browse files
authored
Change types in Filter classes (#1220)
1 parent 73df85c commit 973e294

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Diff for: gitlab4j-models/src/main/java/org/gitlab4j/api/models/GroupFilter.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
public class GroupFilter implements Serializable {
1616
private static final long serialVersionUID = 1L;
1717

18-
private List<Integer> skipGroups;
18+
private List<Long> skipGroups;
1919
private Boolean allAvailable;
2020
private String search;
2121
private GroupOrderBy orderBy;
@@ -33,7 +33,7 @@ public class GroupFilter implements Serializable {
3333
* @param skipGroups List of group IDs to not include in the search
3434
* @return the reference to this GroupFilter instance
3535
*/
36-
public GroupFilter withSkipGroups(List<Integer> skipGroups) {
36+
public GroupFilter withSkipGroups(List<Long> skipGroups) {
3737
this.skipGroups = skipGroups;
3838
return (this);
3939
}

Diff for: gitlab4j-models/src/main/java/org/gitlab4j/api/models/IssueFilter.java

+5-5
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ public class IssueFilter implements Serializable {
2626
private static final long serialVersionUID = 1L;
2727

2828
/**
29-
* Return only the milestone having the given iid.
29+
* Return only the issues having the given iid.
3030
*/
31-
private List<String> iids;
31+
private List<Long> iids;
3232

3333
/**
3434
* {@link org.gitlab4j.models.Constants.IssueState} Return all issues or just those that are opened or closed.
@@ -146,11 +146,11 @@ public String toString() {
146146
}
147147

148148
/*- properties -*/
149-
public List<String> getIids() {
149+
public List<Long> getIids() {
150150
return iids;
151151
}
152152

153-
public void setIids(List<String> iids) {
153+
public void setIids(List<Long> iids) {
154154
this.iids = iids;
155155
}
156156

@@ -291,7 +291,7 @@ public void setNot(Map<IssueField, Object> not) {
291291
}
292292

293293
/*- builder -*/
294-
public IssueFilter withIids(List<String> iids) {
294+
public IssueFilter withIids(List<Long> iids) {
295295
this.iids = iids;
296296
return (this);
297297
}

0 commit comments

Comments
 (0)