Return-Path: X-Original-To: apmail-ignite-commits-archive@minotaur.apache.org Delivered-To: apmail-ignite-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0A341174BA for ; Tue, 7 Apr 2015 11:55:30 +0000 (UTC) Received: (qmail 6716 invoked by uid 500); 7 Apr 2015 11:55:20 -0000 Delivered-To: apmail-ignite-commits-archive@ignite.apache.org Received: (qmail 6684 invoked by uid 500); 7 Apr 2015 11:55:20 -0000 Mailing-List: contact commits-help@ignite.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.incubator.apache.org Delivered-To: mailing list commits@ignite.incubator.apache.org Received: (qmail 6668 invoked by uid 99); 7 Apr 2015 11:55:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Apr 2015 11:55:20 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 07 Apr 2015 11:55:19 +0000 Received: (qmail 4159 invoked by uid 99); 7 Apr 2015 11:54:58 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Apr 2015 11:54:58 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 96216E2F38; Tue, 7 Apr 2015 11:54:58 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sboikov@apache.org To: commits@ignite.incubator.apache.org Date: Tue, 07 Apr 2015 11:55:28 -0000 Message-Id: In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [31/37] incubator-ignite git commit: # sprint-3 - Updated streaming examples. X-Virus-Checked: Checked by ClamAV on apache.org # sprint-3 - Updated streaming examples. Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/f76dc007 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/f76dc007 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/f76dc007 Branch: refs/heads/ignite-688 Commit: f76dc007bc9f0ae53f34640b0c1cc66301a04121 Parents: eadb5d5 Author: Dmitiry Setrakyan Authored: Tue Apr 7 00:58:37 2015 -0700 Committer: Dmitiry Setrakyan Committed: Tue Apr 7 00:58:37 2015 -0700 ---------------------------------------------------------------------- .../ignite/examples/streaming/StreamVisitorExample.java | 7 +------ .../ignite/examples/java8/streaming/StreamVisitorExample.java | 7 +------ 2 files changed, 2 insertions(+), 12 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f76dc007/examples/src/main/java/org/apache/ignite/examples/streaming/StreamVisitorExample.java ---------------------------------------------------------------------- diff --git a/examples/src/main/java/org/apache/ignite/examples/streaming/StreamVisitorExample.java b/examples/src/main/java/org/apache/ignite/examples/streaming/StreamVisitorExample.java index 16fbf3d..9d22e7c 100644 --- a/examples/src/main/java/org/apache/ignite/examples/streaming/StreamVisitorExample.java +++ b/examples/src/main/java/org/apache/ignite/examples/streaming/StreamVisitorExample.java @@ -152,7 +152,7 @@ public class StreamVisitorExample { /** * @param symbol Symbol. */ - Instrument(String symbol) { + public Instrument(String symbol) { this.symbol = symbol; } @@ -167,10 +167,5 @@ public class StreamVisitorExample { this.latest = price; } - - /** {@inheritDoc} */ - @Override public synchronized String toString() { - return "Instrument [symbol=" + symbol + ", latest=" + latest + ", change=" + (latest - open) + ']'; - } } } http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f76dc007/examples/src/main/java8/org/apache/ignite/examples/java8/streaming/StreamVisitorExample.java ---------------------------------------------------------------------- diff --git a/examples/src/main/java8/org/apache/ignite/examples/java8/streaming/StreamVisitorExample.java b/examples/src/main/java8/org/apache/ignite/examples/java8/streaming/StreamVisitorExample.java index 704c249..454fb6e 100644 --- a/examples/src/main/java8/org/apache/ignite/examples/java8/streaming/StreamVisitorExample.java +++ b/examples/src/main/java8/org/apache/ignite/examples/java8/streaming/StreamVisitorExample.java @@ -149,7 +149,7 @@ public class StreamVisitorExample { /** * @param symbol Symbol. */ - Instrument(String symbol) { + public Instrument(String symbol) { this.symbol = symbol; } @@ -164,10 +164,5 @@ public class StreamVisitorExample { this.latest = price; } - - /** {@inheritDoc} */ - @Override public synchronized String toString() { - return "Instrument [symbol=" + symbol + ", latest=" + latest + ", change=" + (latest - open) + ']'; - } } }