# ignite-sprint-3 fixed compilation

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

Branch: refs/heads/ignite-sprint-4
Commit: bb0ce4b3567fa60a4c2097e4128ccaa0ef9e0a92
Parents: 6e84a3b
Author: sboikov <sboi...@gridgain.com>
Authored: Thu Apr 9 11:47:56 2015 +0300
Committer: sboikov <sboi...@gridgain.com>
Committed: Thu Apr 9 11:47:56 2015 +0300

----------------------------------------------------------------------
 .../apache/ignite/examples/datagrid/CacheTransactionExample.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/bb0ce4b3/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheTransactionExample.java
----------------------------------------------------------------------
diff --git 
a/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheTransactionExample.java
 
b/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheTransactionExample.java
index 67f6376..797543a 100644
--- 
a/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheTransactionExample.java
+++ 
b/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheTransactionExample.java
@@ -56,7 +56,7 @@ public class CacheTransactionExample {
 
             cfg.setAtomicityMode(CacheAtomicityMode.TRANSACTIONAL);
 
-            try (IgniteCache<Integer, Account> cache = 
ignite.getOrCreateCache(cfg, new NearCacheConfiguration<>())) {
+            try (IgniteCache<Integer, Account> cache = 
ignite.getOrCreateCache(cfg, new NearCacheConfiguration<Integer, Account>())) {
                 // Initialize.
                 cache.put(1, new Account(1, 100));
                 cache.put(2, new Account(1, 200));

Reply via email to