mirror of
https://github.com/jlengrand/github-api.git
synced 2026-04-04 15:50:52 +00:00
Add BEST_MATCH and expand test
This commit is contained in:
@@ -611,6 +611,23 @@ class GitHubRequest {
|
||||
return with(key, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Unset the key field
|
||||
*
|
||||
* @param key
|
||||
* the key
|
||||
* @return the request builder
|
||||
*/
|
||||
public B unset(String key) {
|
||||
for (int index = 0; index < args.size(); index++) {
|
||||
if (args.get(index).key.equals(key)) {
|
||||
args.remove(index);
|
||||
break;
|
||||
}
|
||||
}
|
||||
return (B) this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method requester.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user