Fix indentation of ProfileController#setProfile
This commit is contained in:
parent
bd5f5c407b
commit
c70fa48835
|
@ -193,8 +193,11 @@ public class ProfileController {
|
|||
a.setCurrentProfileVersion(request.getVersion());
|
||||
});
|
||||
|
||||
if (response.isPresent()) return Response.ok(response).build();
|
||||
else return Response.ok().build();
|
||||
if (response.isPresent()) {
|
||||
return Response.ok(response).build();
|
||||
} else {
|
||||
return Response.ok().build();
|
||||
}
|
||||
}
|
||||
|
||||
@Timed
|
||||
|
|
Loading…
Reference in New Issue