Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -217,11 +217,6 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-all</artifactId>
<version>4.1.74.Final</version>
</dependency>

<!-- Test dependencies -->
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import com.silanis.esl.sdk.internal.RestClient;
import com.silanis.esl.sdk.internal.Serialization;
import com.silanis.esl.sdk.internal.UrlTemplate;
import io.netty.util.internal.StringUtil;
import org.apache.commons.lang3.StringUtils;

import javax.xml.ws.Response;
import java.util.Collections;
Expand Down Expand Up @@ -410,7 +410,7 @@ public List<String> getAccountRoleUsers(String accountRoleId) {
}

public List<UserAccountRole> getAssignedAccountRoles(String userId, String accountId) {
if (!StringUtil.isNullOrEmpty(accountId)){
if (!StringUtils.isEmpty(accountId)){
template.addParam("accountId", accountId);
}
String path = template.urlFor(UrlTemplate.ACCOUNT_SENDERS_ROLES_PATH)
Expand Down