formatting

parent 1511167f
...@@ -100,9 +100,9 @@ public class SingleReturnValueHandler implements AsyncHandlerMethodReturnValueHa ...@@ -100,9 +100,9 @@ public class SingleReturnValueHandler implements AsyncHandlerMethodReturnValueHa
.map(new Func1<Object, ResponseEntity<?>>() { .map(new Func1<Object, ResponseEntity<?>>() {
@Override @Override
public ResponseEntity<?> call(Object object) { public ResponseEntity<?> call(Object object) {
if (object instanceof ResponseEntity){ if (object instanceof ResponseEntity) {
return (ResponseEntity) object; return (ResponseEntity) object;
} }
return new ResponseEntity<Object>(object, return new ResponseEntity<Object>(object,
getHttpHeaders(responseEntity), 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