Plugins#ListRequest: Remove parameter from all() method
The default value of all is false. Change the method so that calling it sets it to true, so instead of: api.list().all(true).get() the call is: api.list().all().get() Change-Id: I8ea0a81c5ef3f7074566ef916b3a843277749e7f
This commit is contained in:
@@ -40,8 +40,8 @@ public interface Plugins {
|
||||
|
||||
public abstract SortedMap<String, PluginInfo> getAsMap() throws RestApiException;
|
||||
|
||||
public ListRequest all(boolean all) {
|
||||
this.all = all;
|
||||
public ListRequest all() {
|
||||
this.all = true;
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user