You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by vo...@apache.org on 2015/10/27 10:00:58 UTC

[03/10] ignite git commit: IGNITE-1770: Minors.

IGNITE-1770: Minors.


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

Branch: refs/heads/ignite-1770
Commit: 9e71ff054a65163d309685e2bef56479c981d4ed
Parents: 6d1df79
Author: vozerov-gridgain <vo...@gridgain.com>
Authored: Tue Oct 27 11:32:13 2015 +0300
Committer: vozerov-gridgain <vo...@gridgain.com>
Committed: Tue Oct 27 11:32:13 2015 +0300

----------------------------------------------------------------------
 .../java/org/apache/ignite/internal/portable/PortableUtils.java  | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/9e71ff05/modules/core/src/main/java/org/apache/ignite/internal/portable/PortableUtils.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/portable/PortableUtils.java b/modules/core/src/main/java/org/apache/ignite/internal/portable/PortableUtils.java
index 48f814d..4b53382 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/portable/PortableUtils.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/portable/PortableUtils.java
@@ -546,9 +546,7 @@ public class PortableUtils {
         writer.doWriteInt(typeId);
         writer.doWriteInt(hashCode);
 
-        int reserved = writer.reserve(8);
-
-        writer.doWriteInt(0); // TODO: Write schema offset here.
+        int reserved = writer.reserve(12);
 
         if (clsName != null)
             writer.doWriteString(clsName);