mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Polish
This commit is contained in:
parent
3c901fef42
commit
f71a207a81
@ -25,7 +25,7 @@ import org.springframework.stereotype.Component;
|
||||
@Path("/hello")
|
||||
public class Endpoint {
|
||||
|
||||
private Service service;
|
||||
private final Service service;
|
||||
|
||||
public Endpoint(Service service) {
|
||||
this.service = service;
|
||||
|
Loading…
Reference in New Issue
Block a user