Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 10E60200C44 for ; Mon, 27 Mar 2017 14:57:27 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 0DD1A160B85; Mon, 27 Mar 2017 12:57:27 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 55174160B5D for ; Mon, 27 Mar 2017 14:57:26 +0200 (CEST) Received: (qmail 12739 invoked by uid 500); 27 Mar 2017 12:57:25 -0000 Mailing-List: contact commits-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list commits@ignite.apache.org Received: (qmail 12730 invoked by uid 99); 27 Mar 2017 12:57:25 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Mar 2017 12:57:25 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 6C023DFF66; Mon, 27 Mar 2017 12:57:25 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: ptupitsyn@apache.org To: commits@ignite.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: ignite git commit: .NET: Fix Affinity test failures Date: Mon, 27 Mar 2017 12:57:25 +0000 (UTC) archived-at: Mon, 27 Mar 2017 12:57:27 -0000 Repository: ignite Updated Branches: refs/heads/master cb5e9ebc0 -> 1308927a6 .NET: Fix Affinity test failures Implement PlatformOutputStreamImpl.hasArray() and rawOffheapPointer() Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/1308927a Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/1308927a Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/1308927a Branch: refs/heads/master Commit: 1308927a61b0efcbe1f68fd894b91c33dba1cb77 Parents: cb5e9eb Author: Pavel Tupitsyn Authored: Mon Mar 27 15:56:10 2017 +0300 Committer: Pavel Tupitsyn Committed: Mon Mar 27 15:56:10 2017 +0300 ---------------------------------------------------------------------- .../processors/platform/memory/PlatformOutputStreamImpl.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/1308927a/modules/core/src/main/java/org/apache/ignite/internal/processors/platform/memory/PlatformOutputStreamImpl.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/platform/memory/PlatformOutputStreamImpl.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/platform/memory/PlatformOutputStreamImpl.java index 334afb8..884e718 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/platform/memory/PlatformOutputStreamImpl.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/platform/memory/PlatformOutputStreamImpl.java @@ -209,16 +209,12 @@ public class PlatformOutputStreamImpl implements PlatformOutputStream { /** {@inheritDoc} */ @Override public long rawOffheapPointer() { - assert false; - - throw new UnsupportedOperationException("Should not be called."); + return data; } /** {@inheritDoc} */ @Override public boolean hasArray() { - assert false; - - throw new UnsupportedOperationException("Should not be called."); + return false; } /** {@inheritDoc} */