Repository: flink
Updated Branches:
  refs/heads/master 8cea2f657 -> 0644f4f77


[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/0644f4f7
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/0644f4f7
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/0644f4f7

Branch: refs/heads/master
Commit: 0644f4f77dde4532714fb60bf8c646365fca5fc0
Parents: 8cea2f6
Author: zentol <[email protected]>
Authored: Sun Feb 18 21:54:56 2018 +0100
Committer: zentol <[email protected]>
Committed: Sun Feb 18 21:54:56 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/0644f4f7/docs/dev/api_concepts.md
----------------------------------------------------------------------
diff --git a/docs/dev/api_concepts.md b/docs/dev/api_concepts.md
index b336fce..c421507 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