ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agoncha...@apache.org
Subject incubator-ignite git commit: IGNITE-45 - Fixed compilation.
Date Mon, 23 Mar 2015 03:25:15 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-45 1466d1d08 -> 75a8dcc0b


IGNITE-45 - Fixed compilation.


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

Branch: refs/heads/ignite-45
Commit: 75a8dcc0b71dc76fe74df48f5153e427b786fdc5
Parents: 1466d1d
Author: Alexey Goncharuk <agoncharuk@gridgain.com>
Authored: Sun Mar 22 20:25:12 2015 -0700
Committer: Alexey Goncharuk <agoncharuk@gridgain.com>
Committed: Sun Mar 22 20:25:12 2015 -0700

----------------------------------------------------------------------
 .../apache/ignite/examples/computegrid/ComputeAsyncExample.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/75a8dcc0/examples/src/main/java/org/apache/ignite/examples/computegrid/ComputeAsyncExample.java
----------------------------------------------------------------------
diff --git a/examples/src/main/java/org/apache/ignite/examples/computegrid/ComputeAsyncExample.java
b/examples/src/main/java/org/apache/ignite/examples/computegrid/ComputeAsyncExample.java
index 22a5847..63ae110 100644
--- a/examples/src/main/java/org/apache/ignite/examples/computegrid/ComputeAsyncExample.java
+++ b/examples/src/main/java/org/apache/ignite/examples/computegrid/ComputeAsyncExample.java
@@ -63,7 +63,8 @@ public class ComputeAsyncExample {
             }
 
             // Wait for completion of all futures.
-            futs.forEach(IgniteFuture::get);
+            for (IgniteFuture<?> fut : futs)
+                fut.get();
 
             System.out.println();
             System.out.println(">>> Finished printing words using runnable execution.");


Mime
View raw message