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: # ignite-45 - example update.
Date Sun, 22 Mar 2015 19:08:04 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-45 082ad6b0a -> 71976a7bb


# ignite-45 - example update.


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

Branch: refs/heads/ignite-45
Commit: 71976a7bb416d36d69f3e37a07083305d24c9bf6
Parents: 082ad6b
Author: Dmitiry Setrakyan <dsetrakyan@gridgain.com>
Authored: Sun Mar 22 12:08:01 2015 -0700
Committer: Dmitiry Setrakyan <dsetrakyan@gridgain.com>
Committed: Sun Mar 22 12:08:01 2015 -0700

----------------------------------------------------------------------
 .../datagrid/store/dummy/CacheDummyPersonStore.java         | 9 ---------
 1 file changed, 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/71976a7b/examples/src/main/java/org/apache/ignite/examples/datagrid/store/dummy/CacheDummyPersonStore.java
----------------------------------------------------------------------
diff --git a/examples/src/main/java/org/apache/ignite/examples/datagrid/store/dummy/CacheDummyPersonStore.java
b/examples/src/main/java/org/apache/ignite/examples/datagrid/store/dummy/CacheDummyPersonStore.java
index 7b04528..3640122 100644
--- a/examples/src/main/java/org/apache/ignite/examples/datagrid/store/dummy/CacheDummyPersonStore.java
+++ b/examples/src/main/java/org/apache/ignite/examples/datagrid/store/dummy/CacheDummyPersonStore.java
@@ -106,15 +106,6 @@ public class CacheDummyPersonStore extends CacheStoreAdapter<Long,
Person> {
      * @return Current transaction.
      */
     @Nullable private Transaction transaction() {
-        CacheStoreSession ses = session();
-
         return ses != null ? ses.transaction() : null;
     }
-
-    /**
-     * @return Store session.
-     */
-    private CacheStoreSession session() {
-        return ses;
-    }
 }


Mime
View raw message