ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From voze...@apache.org
Subject [34/50] ignite git commit: wip
Date Wed, 13 Apr 2016 14:53:33 GMT
wip


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

Branch: refs/heads/ignite-2977
Commit: 0f301485c3b319934faad406de94f5bd23fe1200
Parents: e6879ca
Author: Pavel Tupitsyn <ptupitsyn@gridgain.com>
Authored: Wed Apr 13 14:06:40 2016 +0300
Committer: Pavel Tupitsyn <ptupitsyn@gridgain.com>
Committed: Wed Apr 13 14:06:40 2016 +0300

----------------------------------------------------------------------
 .../ignite/platform/PlatformCacheEntryEventFilter.java      | 9 +++------
 .../Cache/Query/Continuous/ContinuousQueryJavaFilterTest.cs | 1 -
 2 files changed, 3 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/0f301485/modules/core/src/test/java/org/apache/ignite/platform/PlatformCacheEntryEventFilter.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/platform/PlatformCacheEntryEventFilter.java
b/modules/core/src/test/java/org/apache/ignite/platform/PlatformCacheEntryEventFilter.java
index 57e6511..445027b 100644
--- a/modules/core/src/test/java/org/apache/ignite/platform/PlatformCacheEntryEventFilter.java
+++ b/modules/core/src/test/java/org/apache/ignite/platform/PlatformCacheEntryEventFilter.java
@@ -110,13 +110,10 @@ public class PlatformCacheEntryEventFilter implements CacheEntryEventSerializabl
     private double[] doubleArr;
 
     /** Property to be set from platform. */
-    private BigDecimal[] BigDecimalArr;
+    private boolean[] boolArr;
 
     /** Property to be set from platform. */
-    private boolean[] booleanArr;
-
-    /** Property to be set from platform. */
-    private BinaryObject[] objArr;
+    private Object[] objArr;
 
     /** Injected instance. */
     @IgniteInstanceResource
@@ -147,7 +144,7 @@ public class PlatformCacheEntryEventFilter implements CacheEntryEventSerializabl
         // check binary object
         assert objField != null && objField.field("Int") == 1 && "2".equals(objField.field("String"));
         assert objArr != null && objArr.length == 1 &&
-            objArr[0].field("Int") == 1 && "2".equals(objArr[0].field("String"));
+            ((BinaryObject)objArr[0]).field("Int") == 1 && "2".equals(((BinaryObject)objArr[0]).field("String"));
 
         return ((String)event.getValue()).startsWith(startsWith);
     }

http://git-wip-us.apache.org/repos/asf/ignite/blob/0f301485/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/Query/Continuous/ContinuousQueryJavaFilterTest.cs
----------------------------------------------------------------------
diff --git a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/Query/Continuous/ContinuousQueryJavaFilterTest.cs
b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/Query/Continuous/ContinuousQueryJavaFilterTest.cs
index 006447e..1561908 100644
--- a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/Query/Continuous/ContinuousQueryJavaFilterTest.cs
+++ b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/Query/Continuous/ContinuousQueryJavaFilterTest.cs
@@ -133,7 +133,6 @@ namespace Apache.Ignite.Core.Tests.Cache.Query.Continuous
                     {"ulongArr", new[] {(ulong) 8}},
                     {"floatArr", new[] {(float) 9.99}},
                     {"doubleArr", new[] {10.123}},
-                    {"decimalArr", new[] {(decimal) 11.245}},
                     {"boolArr", new[] {true}},
                     {
                         "objArr", new object[]


Mime
View raw message