Polish
This commit is contained in:
@@ -49,7 +49,7 @@ public class SampleController
|
||||
@Autowired
|
||||
private SampleBackground controller;
|
||||
|
||||
private Random random = new Random();
|
||||
final private Random random = new Random();
|
||||
private int port;
|
||||
|
||||
@RequestMapping("/")
|
||||
|
||||
@@ -31,8 +31,6 @@ import org.springframework.web.client.RestTemplate;
|
||||
@EnableAsync
|
||||
public class SampleSleuthApplication {
|
||||
|
||||
public static final String CLIENT_NAME = "testApp";
|
||||
|
||||
@Bean
|
||||
public RestTemplate restTemplate() {
|
||||
return new RestTemplate();
|
||||
|
||||
Reference in New Issue
Block a user