# ignite-330 Fixed 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/5d2860bb
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/5d2860bb
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/5d2860bb

Branch: refs/heads/ignite-release-test-no-mod
Commit: 5d2860bb166b1933169eb9067b372217b3bbd27c
Parents: 77dba0c
Author: anovikov <anovi...@gridgain.com>
Authored: Mon Mar 23 14:25:26 2015 +0700
Committer: anovikov <anovi...@gridgain.com>
Committed: Mon Mar 23 14:25:26 2015 +0700

----------------------------------------------------------------------
 .../examples/datagrid/store/auto/CacheConfig.java     | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/5d2860bb/examples/src/main/java/org/apache/ignite/examples/datagrid/store/auto/CacheConfig.java
----------------------------------------------------------------------
diff --git 
a/examples/src/main/java/org/apache/ignite/examples/datagrid/store/auto/CacheConfig.java
 
b/examples/src/main/java/org/apache/ignite/examples/datagrid/store/auto/CacheConfig.java
index 935e9c6..130148e 100644
--- 
a/examples/src/main/java/org/apache/ignite/examples/datagrid/store/auto/CacheConfig.java
+++ 
b/examples/src/main/java/org/apache/ignite/examples/datagrid/store/auto/CacheConfig.java
@@ -53,22 +53,22 @@ public class CacheConfig {
             }
         });
 
-        CacheTypeMetadata tm = new CacheTypeMetadata();
+        CacheTypeMetadata meta = new CacheTypeMetadata();
 
-        tm.setDatabaseTable("PERSON");
+        meta.setDatabaseTable("PERSON");
 
-        tm.setKeyType("java.lang.Long");
-        tm.setValueType("org.apache.ignite.examples.datagrid.store.Person");
+        meta.setKeyType("java.lang.Long");
+        meta.setValueType("org.apache.ignite.examples.datagrid.store.Person");
 
-        tm.setKeyFields(Collections.singletonList(new 
CacheTypeFieldMetadata("ID", Types.BIGINT, "id", Long.class)));
+        meta.setKeyFields(Collections.singletonList(new 
CacheTypeFieldMetadata("ID", Types.BIGINT, "id", Long.class)));
 
-        tm.setValueFields(Arrays.asList(
+        meta.setValueFields(Arrays.asList(
             new CacheTypeFieldMetadata("ID", Types.BIGINT, "id", long.class),
             new CacheTypeFieldMetadata("FIRST_NAME", Types.VARCHAR, 
"firstName", String.class),
             new CacheTypeFieldMetadata("LAST_NAME", Types.VARCHAR, "lastName", 
String.class)
         ));
 
-        cfg.setTypeMetadata(Collections.singletonList(tm));
+        cfg.setTypeMetadata(Collections.singletonList(meta));
 
         cfg.setWriteBehindEnabled(true);
 

Reply via email to