mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 03:13:21 +08:00
Polish
This commit is contained in:
parent
cd53297fed
commit
d3e15805b4
@ -42,8 +42,7 @@ public class LinksMvcEndpoint implements MvcEndpoint {
|
||||
@RequestMapping(value = { "/", "" }, produces = MediaType.APPLICATION_JSON_VALUE)
|
||||
@ResponseBody
|
||||
public ResourceSupport links() {
|
||||
ResourceSupport resource = new ResourceSupport();
|
||||
return resource;
|
||||
return new ResourceSupport();
|
||||
}
|
||||
|
||||
public void setPath(String path) {
|
||||
|
Loading…
Reference in New Issue
Block a user