ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sevdoki...@apache.org
Subject [26/50] [abbrv] incubator-ignite git commit: #ignite-106: Rename class GridHelloWorld to IgniteHelloWorld in scala examples.
Date Wed, 04 Feb 2015 14:13:56 GMT
#ignite-106: Rename class GridHelloWorld to IgniteHelloWorld in scala 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/ce1ecce8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/ce1ecce8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/ce1ecce8

Branch: refs/heads/ignite-54-55
Commit: ce1ecce8d14bb89ff1f4363d88956614299884fc
Parents: 7a5c097
Author: ivasilinets <vasilinetc.ira@gmail.com>
Authored: Wed Feb 4 01:41:46 2015 +0300
Committer: ivasilinets <vasilinetc.ira@gmail.com>
Committed: Wed Feb 4 01:41:46 2015 +0300

----------------------------------------------------------------------
 .../org/apache/ignite/scalar/examples/ScalarTaskExample.scala    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/ce1ecce8/examples/src/main/scala/org/apache/ignite/scalar/examples/ScalarTaskExample.scala
----------------------------------------------------------------------
diff --git a/examples/src/main/scala/org/apache/ignite/scalar/examples/ScalarTaskExample.scala
b/examples/src/main/scala/org/apache/ignite/scalar/examples/ScalarTaskExample.scala
index 4874338..f8b2d5e 100644
--- a/examples/src/main/scala/org/apache/ignite/scalar/examples/ScalarTaskExample.scala
+++ b/examples/src/main/scala/org/apache/ignite/scalar/examples/ScalarTaskExample.scala
@@ -36,13 +36,13 @@ import scala.collection.JavaConversions._
  */
 object ScalarTaskExample extends App {
     scalar("examples/config/example-compute.xml") {
-        ignite$.compute().execute(classOf[GridHelloWorld], "Hello Cloud World!")
+        ignite$.compute().execute(classOf[IgniteHelloWorld], "Hello Cloud World!")
     }
 
     /**
      * This task encapsulates the logic of MapReduce.
      */
-    class GridHelloWorld extends ComputeTaskSplitAdapter[String, Void] {
+    class IgniteHelloWorld extends ComputeTaskSplitAdapter[String, Void] {
         def split(clusterSize: Int, arg: String): java.util.Collection[_ <: ComputeJob]
= {
             (for (w <- arg.split(" ")) yield toJob(() => println(w))).toSeq
         }


Mime
View raw message