Skip to content

Commit

Permalink
Change types in Filter classes (#1220)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmini authored Dec 24, 2024
1 parent 73df85c commit 973e294
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
public class GroupFilter implements Serializable {
private static final long serialVersionUID = 1L;

private List<Integer> skipGroups;
private List<Long> skipGroups;
private Boolean allAvailable;
private String search;
private GroupOrderBy orderBy;
Expand All @@ -33,7 +33,7 @@ public class GroupFilter implements Serializable {
* @param skipGroups List of group IDs to not include in the search
* @return the reference to this GroupFilter instance
*/
public GroupFilter withSkipGroups(List<Integer> skipGroups) {
public GroupFilter withSkipGroups(List<Long> skipGroups) {
this.skipGroups = skipGroups;
return (this);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ public class IssueFilter implements Serializable {
private static final long serialVersionUID = 1L;

/**
* Return only the milestone having the given iid.
* Return only the issues having the given iid.
*/
private List<String> iids;
private List<Long> iids;

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

/*- properties -*/
public List<String> getIids() {
public List<Long> getIids() {
return iids;
}

public void setIids(List<String> iids) {
public void setIids(List<Long> iids) {
this.iids = iids;
}

Expand Down Expand Up @@ -291,7 +291,7 @@ public void setNot(Map<IssueField, Object> not) {
}

/*- builder -*/
public IssueFilter withIids(List<String> iids) {
public IssueFilter withIids(List<Long> iids) {
this.iids = iids;
return (this);
}
Expand Down

0 comments on commit 973e294

Please sign in to comment.