ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [27/50] incubator-ignite git commit: #ignite-565: Fix java8.
Date Fri, 27 Mar 2015 12:52:38 GMT
#ignite-565: Fix java8.


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

Branch: refs/heads/sprint-3
Commit: ad5de5ff3e7dadcd02da31572ca4086ea33091e0
Parents: 8906d34
Author: ivasilinets <ivasilinets@gridgain.com>
Authored: Thu Mar 26 11:42:46 2015 +0300
Committer: ivasilinets <ivasilinets@gridgain.com>
Committed: Thu Mar 26 11:42:46 2015 +0300

----------------------------------------------------------------------
 .../cache/distributed/GridCacheEventAbstractTest.java        | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/ad5de5ff/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheEventAbstractTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheEventAbstractTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheEventAbstractTest.java
index 7873055..5504a62 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheEventAbstractTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheEventAbstractTest.java
@@ -605,11 +605,11 @@ public abstract class GridCacheEventAbstractTest extends GridCacheAbstractSelfTe
 
                 asyncCache.putIfAbsent(key, val);
 
-                assert asyncCache.future().get() == new Boolean(true);
+                assert ((Boolean)asyncCache.future().get()).booleanValue();
 
                 asyncCache.putIfAbsent(key, val);
 
-                assert asyncCache.future().get() == new Boolean(false);
+                assert !((Boolean)asyncCache.future().get()).booleanValue();
 
                 assert cache.containsKey(key);
             }
@@ -653,11 +653,11 @@ public abstract class GridCacheEventAbstractTest extends GridCacheAbstractSelfTe
 
                     asyncCache.putIfAbsent(key, val);
 
-                    assert asyncCache.future().get() == new Boolean(true);
+                    assert ((Boolean)asyncCache.future().get()).booleanValue();
 
                     asyncCache.putIfAbsent(key, val);
 
-                    assert asyncCache.future().get() == new Boolean(false);
+                    assert !((Boolean)asyncCache.future().get()).booleanValue();
 
                     assert cache.containsKey(key);
 


Mime
View raw message