geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zho...@apache.org
Subject [geode] branch feature/GEODE-5087 updated: GEODE-5087: the long should be convert to int
Date Wed, 09 May 2018 22:54:28 GMT
This is an automated email from the ASF dual-hosted git repository.

zhouxj pushed a commit to branch feature/GEODE-5087
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/feature/GEODE-5087 by this push:
     new 601ce6f  GEODE-5087: the long should be convert to int
601ce6f is described below

commit 601ce6fdc081db1f5324ad603aaef22475d7f30b
Author: zhouxh <gzhou@pivotal.io>
AuthorDate: Wed May 9 15:53:42 2018 -0700

    GEODE-5087: the long should be convert to int
---
 .../apache/geode/internal/cache/wan/serial/BatchDestroyOperation.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/geode-core/src/main/java/org/apache/geode/internal/cache/wan/serial/BatchDestroyOperation.java
b/geode-core/src/main/java/org/apache/geode/internal/cache/wan/serial/BatchDestroyOperation.java
index 62da152..0744561 100644
--- a/geode-core/src/main/java/org/apache/geode/internal/cache/wan/serial/BatchDestroyOperation.java
+++ b/geode-core/src/main/java/org/apache/geode/internal/cache/wan/serial/BatchDestroyOperation.java
@@ -128,7 +128,7 @@ public class BatchDestroyOperation extends DistributedCacheOperation {
         // destroy dropped event from unprocessedKeys
         if (this.tailKey == -1) {
           SerialGatewaySenderEventProcessor ep = null;
-          int index = (int) this.key;
+          int index = ((Long) this.key).intValue();
           if (index == -1) {
             // this is SerialGatewaySenderEventProcessor
             ep = (SerialGatewaySenderEventProcessor) rgn.getSerialGatewaySender()

-- 
To stop receiving notification emails like this one, please contact
zhouxj@apache.org.

Mime
View raw message