Skip to content

Commit 336a8c8

Browse files
authored
GroupFilter: fix typo in method name (gitlab4j#908)
* Fix typo in method name * Fix typo in the javadoc
1 parent c262345 commit 336a8c8

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

src/main/java/org/gitlab4j/api/models/GroupFilter.java

+10-2
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,22 @@ public GroupFilter withSkipGroups(List<Integer> skipGroups) {
3333
return (this);
3434
}
3535

36+
/**
37+
* @deprecated this method contains a typo, use {@link #withAllAvailable(Boolean)} instead
38+
*/
39+
@Deprecated
40+
public GroupFilter withAllAvailabley(Boolean allAvailable) {
41+
return withAllAvailable(allAvailable);
42+
}
43+
3644
/**
3745
* Show all the groups you have access to (defaults to false for authenticated users, true for admin).
3846
* Attributes owned and min_access_level have precedence
3947
*
40-
* @param allAvailable if true show all avauilable groups
48+
* @param allAvailable if true show all available groups
4149
* @return the reference to this GroupFilter instance
4250
*/
43-
public GroupFilter withAllAvailabley(Boolean allAvailable) {
51+
public GroupFilter withAllAvailable(Boolean allAvailable) {
4452
this.allAvailable = allAvailable;
4553
return (this);
4654
}

0 commit comments

Comments
 (0)