formatting

parent 1511167f
......@@ -100,9 +100,9 @@ public class SingleReturnValueHandler implements AsyncHandlerMethodReturnValueHa
.map(new Func1<Object, ResponseEntity<?>>() {
@Override
public ResponseEntity<?> call(Object object) {
if (object instanceof ResponseEntity){
return (ResponseEntity) object;
}
if (object instanceof ResponseEntity) {
return (ResponseEntity) object;
}
return new ResponseEntity<Object>(object,
getHttpHeaders(responseEntity),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment