ignite-gg-11810
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/0a556cbb Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/0a556cbb Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/0a556cbb Branch: refs/heads/ignite-gg-11810 Commit: 0a556cbb7c8c911adfc42216d440f184160cbad5 Parents: 3bb4407 Author: sboikov <sboi...@gridgain.com> Authored: Fri Dec 23 15:06:37 2016 +0300 Committer: sboikov <sboi...@gridgain.com> Committed: Fri Dec 23 15:06:37 2016 +0300 ---------------------------------------------------------------------- .../org/apache/ignite/internal/pagemem/PageUtils.java | 12 ------------ 1 file changed, 12 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/0a556cbb/modules/core/src/main/java/org/apache/ignite/internal/pagemem/PageUtils.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/pagemem/PageUtils.java b/modules/core/src/main/java/org/apache/ignite/internal/pagemem/PageUtils.java index 7ba452b..b6faeb1 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/pagemem/PageUtils.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/pagemem/PageUtils.java @@ -44,18 +44,6 @@ public class PageUtils { unsafe.copyMemory(null, src + srcOff, dst, GridUnsafe.BYTE_ARR_OFF + dstOff, len); } - public static byte[] getBytes(long buf, int off, int len) { - byte[] bytes = new byte[len]; - - unsafe.copyMemory(null, buf + off, bytes, GridUnsafe.BYTE_ARR_OFF, len); - - return bytes; - } - - public static void getBytes(long src, int srcOff, byte[] dst, int dstOff, int len) { - unsafe.copyMemory(null, src + srcOff, dst, GridUnsafe.BYTE_ARR_OFF + dstOff, len); - } - public static short getShort(long buf, int off) { return unsafe.getShort(buf + off); }