Skip to content

Commit

Permalink
Fixed java quickstart example
Browse files Browse the repository at this point in the history
java complains about not expecting an interface here. Needs to be `implements` instead of `extends`.

This closes apache#257
  • Loading branch information
cebe authored and rmetzger committed Dec 10, 2014
1 parent 799ff8a commit 1a2bbeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/java_api_quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public class WordCount {
The operations are defined by specialized classes, here the LineSplitter class.

~~~java
public class LineSplitter extends FlatMapFunction<String, Tuple2<String, Integer>> {
public class LineSplitter implements FlatMapFunction<String, Tuple2<String, Integer>> {

@Override
public void flatMap(String value, Collector<Tuple2<String, Integer>> out) {
Expand Down

0 comments on commit 1a2bbeb

Please sign in to comment.