flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mbala...@apache.org
Subject [1/2] flink git commit: [docs] fix typo in Scala functions type descriptors
Date Sun, 11 Oct 2015 12:30:38 GMT
Repository: flink
Updated Branches:
  refs/heads/master 86080bb97 -> 5dfc897be


[docs] fix typo in Scala functions type descriptors

Closes #1253


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/2475c82d
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/2475c82d
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/2475c82d

Branch: refs/heads/master
Commit: 2475c82d425b4a6a564f0d38f352a0f3b8753d72
Parents: 86080bb
Author: Viktor Taranenko <viktortnk@gmail.com>
Authored: Sun Oct 11 11:49:13 2015 +0100
Committer: mbalassi <mbalassi@apache.org>
Committed: Sun Oct 11 14:26:45 2015 +0200

----------------------------------------------------------------------
 docs/internals/types_serialization.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/2475c82d/docs/internals/types_serialization.md
----------------------------------------------------------------------
diff --git a/docs/internals/types_serialization.md b/docs/internals/types_serialization.md
index 19260f1..8a93ccd 100644
--- a/docs/internals/types_serialization.md
+++ b/docs/internals/types_serialization.md
@@ -127,7 +127,7 @@ Another common cause are generic methods, which can be fixed as described
in the
 Consider the following case below:
 
 {% highlight scala %}
-def[T] selectFirst(input: DataSet[(T, _)]) : DataSet[T] = {
+def selectFirst[T](input: DataSet[(T, _)]) : DataSet[T] = {
   input.map { v => v._1 }
 }
 
@@ -148,7 +148,7 @@ information will then be generated at the sites where the method is invoked,
rat
 method is defined.
 
 {% highlight scala %}
-def[T : TypeInformation] selectFirst(input: DataSet[(T, _)]) : DataSet[T] = {
+def selectFirst[T : TypeInformation](input: DataSet[(T, _)]) : DataSet[T] = {
   input.map { v => v._1 }
 }
 {% endhighlight %}


Mime
View raw message