Unverified Commit 336a8c89 authored by Jérémie Bresson's avatar Jérémie Bresson Committed by GitHub
Browse files

GroupFilter: fix typo in method name (#908)

* Fix typo in method name

* Fix typo in the javadoc
parent c262345c
...@@ -33,14 +33,22 @@ public class GroupFilter { ...@@ -33,14 +33,22 @@ public class GroupFilter {
return (this); 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). * 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 * 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 * @return the reference to this GroupFilter instance
*/ */
public GroupFilter withAllAvailabley(Boolean allAvailable) { public GroupFilter withAllAvailable(Boolean allAvailable) {
this.allAvailable = allAvailable; this.allAvailable = allAvailable;
return (this); return (this);
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment