return _httpClient.sendPut(_baseUrl + userPath + "/" + username + "/blacklist", array.toString());
}
public ResponseWrapper removeBlackList( String username, String... users)
throws APIConnectionException, APIRequestException
{
<BUG>Preconditions.checkArgument( !StringUtils.isTrimedEmpty(username), "username should not be empty");
Preconditions.checkArgument( null != users && users.length > 0, "black list should not be empty");
Preconditions.checkArgument(!StringUtils.isLineBroken(username), "username must not contain line feed character. ");</BUG>
JsonArray array = new JsonArray();
for (String user : users) {

return _httpClient.sendPut(_baseUrl + userPath + "/" + username + "/blacklist", array.toString());
}
public ResponseWrapper removeBlackList( String username, String... users)
throws APIConnectionException, APIRequestException
{
Preconditions.checkArgument(StringUtils.isUsernameValid(username), "The username is illegal, please check again");
Preconditions.checkArgument( null != users && users.length > 0, "black list should not be empty");
JsonArray array = new JsonArray();
for (String user : users) {
