Reformat code using Eclipse Mars
This commit is contained in:
@@ -38,8 +38,7 @@ public class CacheManagerCheck implements CommandLineRunner {
|
||||
|
||||
@Override
|
||||
public void run(String... strings) throws Exception {
|
||||
logger.info("\n\n"
|
||||
+ "=========================================================\n"
|
||||
logger.info("\n\n" + "=========================================================\n"
|
||||
+ "Using cache manager: " + this.cacheManager.getClass().getName() + "\n"
|
||||
+ "=========================================================\n\n");
|
||||
}
|
||||
|
||||
@@ -62,8 +62,8 @@ class SampleClient {
|
||||
|
||||
@Scheduled(fixedDelay = 500)
|
||||
public void retrieveCountry() {
|
||||
String randomCode = SAMPLE_COUNTRY_CODES.get(this.random
|
||||
.nextInt(SAMPLE_COUNTRY_CODES.size()));
|
||||
String randomCode = SAMPLE_COUNTRY_CODES
|
||||
.get(this.random.nextInt(SAMPLE_COUNTRY_CODES.size()));
|
||||
System.out.println("Looking for country with code '" + randomCode + "'");
|
||||
this.countryService.findByCode(randomCode);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user