ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [47/50] [abbrv] incubator-ignite git commit: # ignite-51
Date Wed, 11 Mar 2015 10:22:29 GMT
# ignite-51


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/3c15d6a4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/3c15d6a4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/3c15d6a4

Branch: refs/heads/sprint-2
Commit: 3c15d6a4c360466ed45b9a6440871d39b307caac
Parents: 4809eab
Author: sboikov <sboikov@gridgain.com>
Authored: Wed Mar 11 11:57:14 2015 +0300
Committer: sboikov <sboikov@gridgain.com>
Committed: Wed Mar 11 11:57:14 2015 +0300

----------------------------------------------------------------------
 .../processors/cache/distributed/dht/GridDhtUnlockRequest.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/3c15d6a4/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtUnlockRequest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtUnlockRequest.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtUnlockRequest.java
index a305dc4..1f3ba4c 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtUnlockRequest.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtUnlockRequest.java
@@ -36,7 +36,7 @@ public class GridDhtUnlockRequest extends GridDistributedUnlockRequest {
     private static final long serialVersionUID = 0L;
 
     /** Near keys. */
-    @GridDirectCollection(byte[].class)
+    @GridDirectCollection(KeyCacheObject.class)
     private List<KeyCacheObject> nearKeys;
 
     /**
@@ -111,7 +111,7 @@ public class GridDhtUnlockRequest extends GridDistributedUnlockRequest
{
 
         switch (writer.state()) {
             case 9:
-                if (!writer.writeCollection("nearKeys", nearKeys, MessageCollectionItemType.BYTE_ARR))
+                if (!writer.writeCollection("nearKeys", nearKeys, MessageCollectionItemType.MSG))
                     return false;
 
                 writer.incrementState();
@@ -133,7 +133,7 @@ public class GridDhtUnlockRequest extends GridDistributedUnlockRequest
{
 
         switch (reader.state()) {
             case 9:
-                nearKeys = reader.readCollection("nearKeys", MessageCollectionItemType.BYTE_ARR);
+                nearKeys = reader.readCollection("nearKeys", MessageCollectionItemType.MSG);
 
                 if (!reader.isLastRead())
                     return false;


Mime
View raw message