This commit is contained in:
Marcin Grzejszczak
2017-08-25 11:52:14 +02:00
parent 126101f0ab
commit b83caf4ac0
37 changed files with 96 additions and 101 deletions

View File

@@ -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("/")

View File

@@ -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();