Add BEST_MATCH and expand test

This commit is contained in:
Liam Newman
2021-04-15 14:49:23 -07:00
parent 659b32f5ec
commit b72e7fa2ee
15 changed files with 1920 additions and 122 deletions

View File

@@ -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.
*