Repository: ignite
Updated Branches:
  refs/heads/ignite-gg-11810 fa28a2e5c -> 203f28f78


gg-11810


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

Branch: refs/heads/ignite-gg-11810
Commit: 30918634c4b2409f5b3ff29e46b7fb3bfae281aa
Parents: fa28a2e
Author: sboikov <sboi...@gridgain.com>
Authored: Mon Jan 16 16:58:42 2017 +0300
Committer: sboikov <sboi...@gridgain.com>
Committed: Mon Jan 16 16:58:42 2017 +0300

----------------------------------------------------------------------
 .../main/java/org/apache/ignite/internal/pagemem/Page.java    | 7 -------
 .../apache/ignite/internal/pagemem/impl/PageNoStoreImpl.java  | 7 -------
 2 files changed, 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/30918634/modules/core/src/main/java/org/apache/ignite/internal/pagemem/Page.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/main/java/org/apache/ignite/internal/pagemem/Page.java 
b/modules/core/src/main/java/org/apache/ignite/internal/pagemem/Page.java
index 4ecad9e..2667e44 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/pagemem/Page.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/pagemem/Page.java
@@ -17,8 +17,6 @@
 
 package org.apache.ignite.internal.pagemem;
 
-import java.nio.ByteBuffer;
-
 /**
  *
  */
@@ -50,11 +48,6 @@ public interface Page extends AutoCloseable {
     /**
      * @return ByteBuffer for modifying the page.
      */
-    public ByteBuffer getForWrite();
-
-    /**
-     * @return ByteBuffer for modifying the page.
-     */
     public long getForWritePointer();
 
     /**

http://git-wip-us.apache.org/repos/asf/ignite/blob/30918634/modules/core/src/main/java/org/apache/ignite/internal/pagemem/impl/PageNoStoreImpl.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/main/java/org/apache/ignite/internal/pagemem/impl/PageNoStoreImpl.java
 
b/modules/core/src/main/java/org/apache/ignite/internal/pagemem/impl/PageNoStoreImpl.java
index d68466f..b52df55 100644
--- 
a/modules/core/src/main/java/org/apache/ignite/internal/pagemem/impl/PageNoStoreImpl.java
+++ 
b/modules/core/src/main/java/org/apache/ignite/internal/pagemem/impl/PageNoStoreImpl.java
@@ -23,8 +23,6 @@ import org.apache.ignite.internal.pagemem.PageIdUtils;
 import org.apache.ignite.internal.processors.cache.database.tree.io.PageIO;
 import org.apache.ignite.internal.util.typedef.internal.SB;
 
-import java.nio.ByteBuffer;
-
 /**
  *
  */
@@ -81,11 +79,6 @@ public class PageNoStoreImpl implements Page {
     }
 
     /** {@inheritDoc} */
-    @Override public ByteBuffer getForWrite() {
-        throw new UnsupportedOperationException();
-    }
-
-    /** {@inheritDoc} */
     @Override public long getForWritePointer() {
         int tag = PageIdUtils.tag(pageId);
         boolean locked = pageMem.writeLockPage(absPtr, tag);

Reply via email to