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 <[email protected]>
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
[email protected].