ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agoncha...@apache.org
Subject [22/50] [abbrv] ignite git commit: .NET: Fix Affinity test failures
Date Thu, 30 Mar 2017 11:49:51 GMT
.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/ignite-3477-master
Commit: 1308927a61b0efcbe1f68fd894b91c33dba1cb77
Parents: cb5e9eb
Author: Pavel Tupitsyn <ptupitsyn@apache.org>
Authored: Mon Mar 27 15:56:10 2017 +0300
Committer: Pavel Tupitsyn <ptupitsyn@apache.org>
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} */


Mime
View raw message