ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sevdoki...@apache.org
Subject [11/50] [abbrv] incubator-ignite git commit: # sprint-2 - Example fix.
Date Thu, 26 Feb 2015 14:02:50 GMT
# 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/2bf1bde3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/2bf1bde3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/2bf1bde3

Branch: refs/heads/ignite-11
Commit: 2bf1bde374f27fcbd26edb4f2513da1f30d71d3f
Parents: 49d16ae
Author: Dmitiry Setrakyan <dsetrakyan@gridgain.com>
Authored: Sun Feb 22 20:13:55 2015 -0800
Committer: Dmitiry Setrakyan <dsetrakyan@gridgain.com>
Committed: Sun Feb 22 20:13:55 2015 -0800

----------------------------------------------------------------------
 .../org/apache/ignite/examples/datagrid/CacheApiExample.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/2bf1bde3/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheApiExample.java
----------------------------------------------------------------------
diff --git a/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheApiExample.java
b/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheApiExample.java
index ed4da58..d702555 100644
--- a/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheApiExample.java
+++ b/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheApiExample.java
@@ -105,8 +105,8 @@ public class CacheApiExample {
 
         // Invoke - assign new value based on previous value.
         cache.put(6, "6");
-        cache.invoke(6, new EntryProcessor<Integer, String, Void>() {
-            @Override public Void process(MutableEntry<Integer, String> entry, Object...
args) {
+        cache.invoke(6, new EntryProcessor<Integer, String, Object>() {
+            @Override public Object process(MutableEntry<Integer, String> entry, Object...
args) {
                 String v = entry.getValue();
 
                 entry.setValue(v + "6"); // Set new value based on previous value.


Mime
View raw message