ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agoncha...@apache.org
Subject [18/29] ignite git commit: IGNITE-5069: Fixed failure in QueryWords example.
Date Wed, 26 Apr 2017 09:31:39 GMT
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-5024
Commit: 4739458cd23b28e435ec91608a747c612a767477
Parents: 645581e
Author: devozerov <vozerov@gridgain.com>
Authored: Tue Apr 25 11:21:49 2017 +0300
Committer: devozerov <vozerov@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);


Mime
View raw message