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-2 - example fix.
Date Wed, 25 Mar 2015 00:20:52 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/sprint-2 c745d1284 -> b370720a4


# sprint-2 - example fix.


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

Branch: refs/heads/sprint-2
Commit: b370720a42a3bf49a0c3e2e095a7fd5d77a18a2b
Parents: c745d12
Author: Dmitiry Setrakyan <dsetrakyan@gridgain.com>
Authored: Tue Mar 24 17:20:45 2015 -0700
Committer: Dmitiry Setrakyan <dsetrakyan@gridgain.com>
Committed: Tue Mar 24 17:20:45 2015 -0700

----------------------------------------------------------------------
 .../examples/java8/streaming/marketdata/StreamMarketData.java     | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/b370720a/examples/src/main/java8/org/apache/ignite/examples/java8/streaming/marketdata/StreamMarketData.java
----------------------------------------------------------------------
diff --git a/examples/src/main/java8/org/apache/ignite/examples/java8/streaming/marketdata/StreamMarketData.java
b/examples/src/main/java8/org/apache/ignite/examples/java8/streaming/marketdata/StreamMarketData.java
index ced27d2..1eabfb3 100644
--- a/examples/src/main/java8/org/apache/ignite/examples/java8/streaming/marketdata/StreamMarketData.java
+++ b/examples/src/main/java8/org/apache/ignite/examples/java8/streaming/marketdata/StreamMarketData.java
@@ -65,7 +65,8 @@ public class StreamMarketData {
 
                     Instrument inst = instCache.get(symbol);
 
-                    if (inst == null) inst = new Instrument(symbol);
+                    if (inst == null)
+                        inst = new Instrument(symbol);
 
                     // Don't populate market cache, as we don't use it for querying.
                     // Update cached instrument based on the latest market tick.


Mime
View raw message