ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [24/50] incubator-ignite git commit: #ignite-565: Fix java8.
Date Fri, 27 Mar 2015 12:59:55 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/8906d345
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/8906d345
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/8906d345

Branch: refs/heads/ignite-611
Commit: 8906d345a6a1b50afab5a165721ccadb2ad70d6a
Parents: 5d7568a
Author: ivasilinets <ivasilinets@gridgain.com>
Authored: Wed Mar 25 20:50:18 2015 +0300
Committer: ivasilinets <ivasilinets@gridgain.com>
Committed: Wed Mar 25 20:50:18 2015 +0300

----------------------------------------------------------------------
 .../cache/distributed/GridCacheEventAbstractTest.java        | 8 ++++----
 .../distributed/near/GridCacheNearEvictionSelfTest.java      | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8906d345/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 a043c85..7873055 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() == true;
+                assert asyncCache.future().get() == new Boolean(true);
 
                 asyncCache.putIfAbsent(key, val);
 
-                assert asyncCache.future().get() == false;
+                assert asyncCache.future().get() == new Boolean(false);
 
                 assert cache.containsKey(key);
             }
@@ -653,11 +653,11 @@ public abstract class GridCacheEventAbstractTest extends GridCacheAbstractSelfTe
 
                     asyncCache.putIfAbsent(key, val);
 
-                    assert asyncCache.future().get() == true;
+                    assert asyncCache.future().get() == new Boolean(true);
 
                     asyncCache.putIfAbsent(key, val);
 
-                    assert asyncCache.future().get() == false;
+                    assert asyncCache.future().get() == new Boolean(false);
 
                     assert cache.containsKey(key);
 

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8906d345/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearEvictionSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearEvictionSelfTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearEvictionSelfTest.java
index b8dafc6..4b1c933 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearEvictionSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearEvictionSelfTest.java
@@ -164,7 +164,7 @@ public class GridCacheNearEvictionSelfTest extends GridCommonAbstractTest
{
             });
 
             for (int i = 0; i < gridCnt; i++) {
-                final GridCache cache = internalCache(i);
+                final GridCacheAdapter cache = internalCache(i);
 
                 // Repeatedly check cache sizes because of concurrent cache updates.
                 assertTrue(GridTestUtils.waitForCondition(new PA() {


Mime
View raw message