You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ag...@apache.org on 2015/12/18 10:28:17 UTC

ignite git commit: IGNITE-2199: Java 8 compile error fix (ambiguous reference to assertEquals) - Fixes #351.

Repository: ignite
Updated Branches:
  refs/heads/ignite-1.5 b1f906555 -> 1a2ebdd0b


IGNITE-2199: Java 8 compile error fix (ambiguous reference to assertEquals) - Fixes #351.

Signed-off-by: Alexey Goncharuk <al...@gmail.com>


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

Branch: refs/heads/ignite-1.5
Commit: 1a2ebdd0bef4a3dd68551ccda09111c1646c76c6
Parents: b1f9065
Author: shtykh_roman <rs...@yahoo.com>
Authored: Fri Dec 18 12:27:40 2015 +0300
Committer: Alexey Goncharuk <al...@gmail.com>
Committed: Fri Dec 18 12:27:40 2015 +0300

----------------------------------------------------------------------
 .../cache/IgniteCacheBinaryEntryProcessorSelfTest.java           | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/1a2ebdd0/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheBinaryEntryProcessorSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheBinaryEntryProcessorSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheBinaryEntryProcessorSelfTest.java
index 8e20c3e..a6c2b44 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheBinaryEntryProcessorSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheBinaryEntryProcessorSelfTest.java
@@ -162,11 +162,11 @@ public class IgniteCacheBinaryEntryProcessorSelfTest extends GridCommonAbstractT
                     assertEquals("updated-" + i, updated.stringValue());
 
                     BinaryObject updatedBinary = nodeBinaryCache.get(i);
-                    assertEquals(i + 1, updatedBinary.field("val"));
+                    assertEquals(new Integer(i + 1), updatedBinary.field("val"));
                     assertEquals("updated-" + i, updatedBinary.field("strVal"));
 
                     updatedBinary = nodeBinaryCache.get(-(i + 1));
-                    assertEquals(i + 1, updatedBinary.field("val"));
+                    assertEquals(new Integer(i + 1), updatedBinary.field("val"));
                     assertEquals("updated-" + i, updatedBinary.field("strVal"));
                 }
             }