You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sb...@apache.org on 2015/12/14 13:22:41 UTC
[2/3] ignite git commit: IGNITE-2149: Fix compilation under Java 8
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-1537
Commit: b906ed3f2e3c235ddaea9061af808e8e4b1c769c
Parents: d6b4611
Author: ashutak <as...@gridgain.com>
Authored: Mon Dec 14 15:09:46 2015 +0300
Committer: ashutak <as...@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"));