This is an automated email from the ASF dual-hosted git repository.
eshu11 pushed a commit to branch feature/GEODE-5379
in repository https://gitbox.apache.org/repos/asf/geode.git
The following commit(s) were added to refs/heads/feature/GEODE-5379 by this
push:
new a02b408 fix a review comment.
a02b408 is described below
commit a02b4087c7d1731f8c3d96973b744e54291b2656
Author: eshu <[email protected]>
AuthorDate: Tue Jul 10 16:22:16 2018 -0700
fix a review comment.
---
.../java/org/apache/geode/cache/client/internal/OpExecutorImpl.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git
a/geode-core/src/main/java/org/apache/geode/cache/client/internal/OpExecutorImpl.java
b/geode-core/src/main/java/org/apache/geode/cache/client/internal/OpExecutorImpl.java
index 70ffea5..7ae4745 100644
---
a/geode-core/src/main/java/org/apache/geode/cache/client/internal/OpExecutorImpl.java
+++
b/geode-core/src/main/java/org/apache/geode/cache/client/internal/OpExecutorImpl.java
@@ -231,8 +231,7 @@ public class OpExecutorImpl implements ExecutablePool {
final int initialRetryCount = getAffinityRetryCount();
try {
try {
- Object retVal = executeOnServer(loc, op, true, false);
- return retVal;
+ return executeOnServer(loc, op, true, false);
} catch (ServerConnectivityException e) {
if (logger.isDebugEnabled()) {
logger.debug("caught exception while executing with affinity:{}",
e.getMessage(), e);