mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-24 02:09:05 +00:00
Polish
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user