ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dsetrak...@apache.org
Subject incubator-ignite git commit: # sprint-3 - Updated streaming examples.
Date Tue, 07 Apr 2015 07:58:40 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-sprint-3 eadb5d5c2 -> f76dc007b


# 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-sprint-3
Commit: f76dc007bc9f0ae53f34640b0c1cc66301a04121
Parents: eadb5d5
Author: Dmitiry Setrakyan <dsetrakyan@gridgain.com>
Authored: Tue Apr 7 00:58:37 2015 -0700
Committer: Dmitiry Setrakyan <dsetrakyan@gridgain.com>
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) + ']';
-        }
     }
 }


Mime
View raw message