Skip to content

GroupFilter: fix typo in method name #908

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 30, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions src/main/java/org/gitlab4j/api/models/GroupFilter.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,22 @@ public GroupFilter withSkipGroups(List<Integer> skipGroups) {
return (this);
}

/**
* @deprecated this method contains a typo, use {@link #withAllAvailable(Boolean)} instead
*/
@Deprecated
public GroupFilter withAllAvailabley(Boolean allAvailable) {
return withAllAvailable(allAvailable);
}

/**
* Show all the groups you have access to (defaults to false for authenticated users, true for admin).
* Attributes owned and min_access_level have precedence
*
* @param allAvailable if true show all avauilable groups
* @param allAvailable if true show all available groups
* @return the reference to this GroupFilter instance
*/
public GroupFilter withAllAvailabley(Boolean allAvailable) {
public GroupFilter withAllAvailable(Boolean allAvailable) {
this.allAvailable = allAvailable;
return (this);
}
Expand Down