Skip to content

Commit

Permalink
check setDivision not empty instead of not null
Browse files Browse the repository at this point in the history
  • Loading branch information
wqliang committed Dec 19, 2019
1 parent eca9fd1 commit e218d53
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 e218d53

Please sign in to comment.