Repository: flink
Updated Branches:
  refs/heads/release-1.4 cc76c323f -> 528317c8f


[FLINK-8692][docs] Remove extra parenthesis in scala code samples


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

Branch: refs/heads/release-1.4
Commit: 528317c8f23a7f20493510e57c21c72a1fc42b3d
Parents: cc76c32
Author: zentol <[email protected]>
Authored: Sun Feb 18 21:54:56 2018 +0100
Committer: zentol <[email protected]>
Committed: Sun Feb 18 21:55:59 2018 +0100

----------------------------------------------------------------------
 docs/dev/api_concepts.md | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/528317c8/docs/dev/api_concepts.md
----------------------------------------------------------------------
diff --git a/docs/dev/api_concepts.md b/docs/dev/api_concepts.md
index c675225..c72478d 100644
--- a/docs/dev/api_concepts.md
+++ b/docs/dev/api_concepts.md
@@ -495,7 +495,7 @@ The most basic way is to implement one of the provided 
interfaces:
 {% highlight java %}
 class MyMapFunction implements MapFunction<String, Integer> {
   public Integer map(String value) { return Integer.parseInt(value); }
-});
+};
 data.map(new MyMapFunction());
 {% endhighlight %}
 
@@ -528,7 +528,7 @@ instead take as argument a *rich* function. For example, 
instead of
 {% highlight java %}
 class MyMapFunction implements MapFunction<String, Integer> {
   public Integer map(String value) { return Integer.parseInt(value); }
-});
+};
 {% endhighlight %}
 
 you can write
@@ -536,7 +536,7 @@ you can write
 {% highlight java %}
 class MyMapFunction extends RichMapFunction<String, Integer> {
   public Integer map(String value) { return Integer.parseInt(value); }
-});
+};
 {% endhighlight %}
 
 and pass the function as usual to a `map` transformation:
@@ -586,7 +586,7 @@ you can write
 {% highlight scala %}
 class MyMapFunction extends RichMapFunction[String, Int] {
   def map(in: String):Int = { in.toInt }
-})
+};
 {% endhighlight %}
 
 and pass the function to a `map` transformation:

Reply via email to