Skip to content

Commit

Permalink
[hotfix][docs] Fix Scala code example in Controlling Latency section
Browse files Browse the repository at this point in the history
This closes apache#5299.
  • Loading branch information
elbaulp authored and zentol committed Jan 29, 2018
1 parent 71dee4e commit d2211ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/dev/datastream_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ env.generateSequence(1,10).map(new MyMapper()).setBufferTimeout(timeoutMillis);
</div>
<div data-lang="scala" markdown="1">
{% highlight scala %}
LocalStreamEnvironment env = StreamExecutionEnvironment.createLocalEnvironment
val env: LocalStreamEnvironment = StreamExecutionEnvironment.createLocalEnvironment
env.setBufferTimeout(timeoutMillis)

env.generateSequence(1,10).map(myMap).setBufferTimeout(timeoutMillis)
Expand Down

0 comments on commit d2211ed

Please sign in to comment.