Skip to content

Commit

Permalink
Merge pull request #57 from wqliang/v1.6.x_setdivision
Browse files Browse the repository at this point in the history
[ISSUE #56] check setDivision not empty instead of not null
  • Loading branch information
TimmyYu authored Jan 9, 2020
2 parents eca9fd1 + e218d53 commit ae9514e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public <T> ObjectProxy<T> getObjectProxy(Class<T> api, String objName, String se
servantProxyConfig.setCommunicatorId(communicator.getId());
servantProxyConfig.setModuleName(communicator.getCommunicatorConfig().getModuleName(), communicator.getCommunicatorConfig().isEnableSet(), communicator.getCommunicatorConfig().getSetDivision());
servantProxyConfig.setLocator(communicator.getCommunicatorConfig().getLocator());
if (setDivision != null) {
if (!StringUtils.isEmpty(setDivision)) {
servantProxyConfig.setEnableSet(true);
servantProxyConfig.setSetDivision(setDivision);
}
Expand Down

0 comments on commit ae9514e

Please sign in to comment.