Remove type parameter of ResponseBodyEmitter

Closes gh-851
This commit is contained in:
Toshiaki Maki 2015-08-01 00:32:21 +09:00 committed by Stephane Nicoll
parent 1a8e6653b8
commit 1ef0015eb2
1 changed files with 2 additions and 2 deletions

View File

@ -2196,8 +2196,8 @@ Here is an example of that:
[subs="verbatim,quotes"]
----
@RequestMapping("/events")
public ResponseBodyEmitter<String> handle() {
ResponseBodyEmitter<String> emitter = new ResponseBodyEmitter<String>();
public ResponseBodyEmitter handle() {
ResponseBodyEmitter emitter = new ResponseBodyEmitter();
// Save the emitter somewhere..
return emitter;
}