ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From voze...@apache.org
Subject [1/4] ignite git commit: IGNITE-2149: Fix compilation under Java 8
Date Mon, 14 Dec 2015 13:33:12 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-2100 10311a6db -> ae21fa502


IGNITE-2149: Fix compilation under Java 8


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

Branch: refs/heads/ignite-2100
Commit: b906ed3f2e3c235ddaea9061af808e8e4b1c769c
Parents: d6b4611
Author: ashutak <ashutak@gridgain.com>
Authored: Mon Dec 14 15:09:46 2015 +0300
Committer: ashutak <ashutak@gridgain.com>
Committed: Mon Dec 14 15:09:46 2015 +0300

----------------------------------------------------------------------
 .../processors/cache/IgniteBinaryObjectFieldsQuerySelfTest.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/b906ed3f/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteBinaryObjectFieldsQuerySelfTest.java
----------------------------------------------------------------------
diff --git a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteBinaryObjectFieldsQuerySelfTest.java
b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteBinaryObjectFieldsQuerySelfTest.java
index 3a08824..091c633 100644
--- a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteBinaryObjectFieldsQuerySelfTest.java
+++ b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteBinaryObjectFieldsQuerySelfTest.java
@@ -210,7 +210,7 @@ public class IgniteBinaryObjectFieldsQuerySelfTest extends GridCommonAbstractTes
             for (int i = 0; i < 100; i++) {
                 Object person = all.get(i).getValue();
 
-                assertEquals(i, U.field(person, "id"));
+                assertEquals((Integer) i, U.field(person, "id"));
                 assertEquals("person-" + i, U.field(person, "name"));
                 assertEquals("person-last-" + i, U.field(person, "lastName"));
                 assertEquals((double)(i * 25), U.field(person, "salary"));


Mime
View raw message