You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by vo...@apache.org on 2017/04/25 08:21:52 UTC

ignite git commit: IGNITE-5069: Fixed failure in QueryWords example.

Repository: ignite
Updated Branches:
  refs/heads/ignite-2.0 645581ee7 -> 4739458cd


IGNITE-5069: Fixed failure in QueryWords example.


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

Branch: refs/heads/ignite-2.0
Commit: 4739458cd23b28e435ec91608a747c612a767477
Parents: 645581e
Author: devozerov <vo...@gridgain.com>
Authored: Tue Apr 25 11:21:49 2017 +0300
Committer: devozerov <vo...@gridgain.com>
Committed: Tue Apr 25 11:21:49 2017 +0300

----------------------------------------------------------------------
 .../org/apache/ignite/examples/streaming/wordcount/QueryWords.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/4739458c/examples/src/main/java/org/apache/ignite/examples/streaming/wordcount/QueryWords.java
----------------------------------------------------------------------
diff --git a/examples/src/main/java/org/apache/ignite/examples/streaming/wordcount/QueryWords.java b/examples/src/main/java/org/apache/ignite/examples/streaming/wordcount/QueryWords.java
index c1ce6e1..54aa97f 100644
--- a/examples/src/main/java/org/apache/ignite/examples/streaming/wordcount/QueryWords.java
+++ b/examples/src/main/java/org/apache/ignite/examples/streaming/wordcount/QueryWords.java
@@ -75,7 +75,7 @@ public class QueryWords {
                     List<?> row = stats.get(0);
 
                     if (row.get(0) != null)
-                        System.out.printf("Query results [avg=%.2f, min=%d, max=%d]%n", row.get(0), row.get(1), row.get(2));
+                        System.out.printf("Query results [avg=%d, min=%d, max=%d]%n", row.get(0), row.get(1), row.get(2));
 
                     // Print top 10 words.
                     ExamplesUtils.printQueryResults(top10);