You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sb...@apache.org on 2015/12/11 09:00:06 UTC
[04/16] ignite git commit: #Ignite-1.5 - Minor corrections.
#Ignite-1.5 - Minor corrections.
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/5c232576
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/5c232576
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/5c232576
Branch: refs/heads/ignite-1537
Commit: 5c2325765fe8370118ef135231632776443ea454
Parents: dfd7a67
Author: Alexey Goncharuk <al...@gmail.com>
Authored: Thu Dec 10 18:56:36 2015 +0300
Committer: Alexey Goncharuk <al...@gmail.com>
Committed: Thu Dec 10 18:56:36 2015 +0300
----------------------------------------------------------------------
.../examples/binary/datagrid/CacheClientBinaryPutGetExample.java | 2 +-
.../examples/binary/datagrid/CacheClientBinaryQueryExample.java | 4 ++--
.../org/apache/ignite/marshaller/optimized/package-info.java | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ignite/blob/5c232576/examples/src/main/java/org/apache/ignite/examples/binary/datagrid/CacheClientBinaryPutGetExample.java
----------------------------------------------------------------------
diff --git a/examples/src/main/java/org/apache/ignite/examples/binary/datagrid/CacheClientBinaryPutGetExample.java b/examples/src/main/java/org/apache/ignite/examples/binary/datagrid/CacheClientBinaryPutGetExample.java
index c416501..26f8d71 100644
--- a/examples/src/main/java/org/apache/ignite/examples/binary/datagrid/CacheClientBinaryPutGetExample.java
+++ b/examples/src/main/java/org/apache/ignite/examples/binary/datagrid/CacheClientBinaryPutGetExample.java
@@ -68,7 +68,7 @@ public class CacheClientBinaryPutGetExample {
cfg.setName(CACHE_NAME);
cfg.setAtomicityMode(CacheAtomicityMode.ATOMIC);
- try (IgniteCache<Integer, Organization> cache = ignite.createCache(cfg)) {
+ try (IgniteCache<Integer, Organization> cache = ignite.getOrCreateCache(cfg)) {
if (ignite.cluster().forDataNodes(cache.getName()).nodes().isEmpty()) {
System.out.println();
System.out.println(">>> This example requires remote cache node nodes to be started.");
http://git-wip-us.apache.org/repos/asf/ignite/blob/5c232576/examples/src/main/java/org/apache/ignite/examples/binary/datagrid/CacheClientBinaryQueryExample.java
----------------------------------------------------------------------
diff --git a/examples/src/main/java/org/apache/ignite/examples/binary/datagrid/CacheClientBinaryQueryExample.java b/examples/src/main/java/org/apache/ignite/examples/binary/datagrid/CacheClientBinaryQueryExample.java
index 34452e4..c8beaf4 100644
--- a/examples/src/main/java/org/apache/ignite/examples/binary/datagrid/CacheClientBinaryQueryExample.java
+++ b/examples/src/main/java/org/apache/ignite/examples/binary/datagrid/CacheClientBinaryQueryExample.java
@@ -81,8 +81,8 @@ public class CacheClientBinaryQueryExample {
employeeCacheCfg.setQueryEntities(Arrays.asList(createEmployeeQueryEntity()));
- try (IgniteCache<Integer, Organization> orgCache = ignite.createCache(orgCacheCfg);
- IgniteCache<EmployeeKey, Employee> employeeCache = ignite.createCache(employeeCacheCfg)
+ try (IgniteCache<Integer, Organization> orgCache = ignite.getOrCreateCache(orgCacheCfg);
+ IgniteCache<EmployeeKey, Employee> employeeCache = ignite.getOrCreateCache(employeeCacheCfg)
) {
if (ignite.cluster().forDataNodes(orgCache.getName()).nodes().isEmpty()) {
System.out.println();
http://git-wip-us.apache.org/repos/asf/ignite/blob/5c232576/modules/core/src/main/java/org/apache/ignite/marshaller/optimized/package-info.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/marshaller/optimized/package-info.java b/modules/core/src/main/java/org/apache/ignite/marshaller/optimized/package-info.java
index de1fad0..bb61add 100644
--- a/modules/core/src/main/java/org/apache/ignite/marshaller/optimized/package-info.java
+++ b/modules/core/src/main/java/org/apache/ignite/marshaller/optimized/package-info.java
@@ -17,6 +17,6 @@
/**
* <!-- Package description. -->
- * Contains <b>default</b> Optimized marshaller.
+ * Contains Optimized marshaller.
*/
package org.apache.ignite.marshaller.optimized;
\ No newline at end of file