ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dma...@apache.org
Subject [1/2] ignite git commit: fixed compilation under Java 7
Date Wed, 20 Jul 2016 10:31:54 GMT
Repository: ignite
Updated Branches:
  refs/heads/master abd1c74bd -> 7079c18a6


fixed compilation under Java 7


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

Branch: refs/heads/master
Commit: ac266a79845d6df94ce4dbc8a867dc7e06f685e3
Parents: 869db21
Author: Denis Magda <dmagda@gridgain.com>
Authored: Wed Jul 20 13:31:05 2016 +0300
Committer: Denis Magda <dmagda@gridgain.com>
Committed: Wed Jul 20 13:31:05 2016 +0300

----------------------------------------------------------------------
 .../internal/processors/schedule/GridScheduleSelfTest.java   | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/ac266a79/modules/schedule/src/test/java/org/apache/ignite/internal/processors/schedule/GridScheduleSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/schedule/src/test/java/org/apache/ignite/internal/processors/schedule/GridScheduleSelfTest.java
b/modules/schedule/src/test/java/org/apache/ignite/internal/processors/schedule/GridScheduleSelfTest.java
index b2463b4..f0860f2 100644
--- a/modules/schedule/src/test/java/org/apache/ignite/internal/processors/schedule/GridScheduleSelfTest.java
+++ b/modules/schedule/src/test/java/org/apache/ignite/internal/processors/schedule/GridScheduleSelfTest.java
@@ -336,7 +336,13 @@ public class GridScheduleSelfTest extends GridCommonAbstractTest {
      * @throws Exception If failed.
      */
     public void testNoNextExecutionTime() throws Exception {
-        SchedulerFuture<Integer> future = grid(0).scheduler().scheduleLocal(() ->
1, "{55} 53 3/5 * * *");
+        Callable<Integer> run = new Callable<Integer>() {
+            @Override public Integer call() {
+                return 1;
+            }
+        };
+
+        SchedulerFuture<Integer> future = grid(0).scheduler().scheduleLocal(run, "{55}
53 3/5 * * *");
 
         try {
             future.get();


Mime
View raw message