IGNITE-1770: WIP.

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

Branch: refs/heads/ignite-1770
Commit: 92c6b290f311174a73e5d9b44b835993e84d515a
Parents: 0b0b4d7
Author: vozerov-gridgain <[email protected]>
Authored: Tue Oct 27 15:56:34 2015 +0300
Committer: vozerov-gridgain <[email protected]>
Committed: Tue Oct 27 15:56:34 2015 +0300

----------------------------------------------------------------------
 .../internal/portable/PortableReaderExImpl.java | 30 --------------------
 1 file changed, 30 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/92c6b290/modules/core/src/main/java/org/apache/ignite/internal/portable/PortableReaderExImpl.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/main/java/org/apache/ignite/internal/portable/PortableReaderExImpl.java
 
b/modules/core/src/main/java/org/apache/ignite/internal/portable/PortableReaderExImpl.java
index 203c991..12ec418 100644
--- 
a/modules/core/src/main/java/org/apache/ignite/internal/portable/PortableReaderExImpl.java
+++ 
b/modules/core/src/main/java/org/apache/ignite/internal/portable/PortableReaderExImpl.java
@@ -2527,36 +2527,6 @@ public class PortableReaderExImpl implements 
PortableReader, PortableRawReaderEx
 
         // TODO: Opto.
 
-//        int searchPos = in.position();
-//
-//        while (searchPos < searchTail) {
-//            int id0 = in.readInt(searchPos);
-//
-//            if (id0 == id)
-//                return searchPos + 8;
-//
-//            int len = in.readInt(searchPos + 4);
-//
-//            searchPos += (8 + len);
-//        }
-//
-//        if (in.position() != searchHead) {
-//            searchPos = searchHead;
-//
-//            while (searchPos < in.position()) {
-//                int id0 = in.readInt(searchPos);
-//
-//                if (id0 == id)
-//                    return searchPos + 8;
-//
-//                int len = in.readInt(searchPos + 4);
-//
-//                searchPos += (8 + len);
-//            }
-//        }
-//
-//        return -1;
-
         while (true) {
             if (searchHead >= searchTail)
                 return false;

Reply via email to