Polish
This commit is contained in:
@@ -8,14 +8,14 @@ class Example implements CommandLineRunner {
|
||||
private MyService myService
|
||||
|
||||
void run(String... args) {
|
||||
println "Hello ${this.myService.sayWorld()} From ${getClass().getClassLoader().getResource('samples/retry.groovy')}"
|
||||
println "Hello ${this.myService.sayWorld()} From ${getClass().getClassLoader().getResource('samples/retry.groovy')}"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@Service
|
||||
class MyService {
|
||||
|
||||
|
||||
static int count = 0
|
||||
|
||||
@Retryable
|
||||
@@ -26,5 +26,3 @@ class MyService {
|
||||
return "World!"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2013 the original author or authors.
|
||||
* Copyright 2012-2015 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -26,6 +26,7 @@ import org.springframework.boot.cli.compiler.DependencyCustomizer;
|
||||
* {@link CompilerAutoConfiguration} for Spring Retry.
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @since 1.3.0
|
||||
*/
|
||||
public class SpringRetryCompilerAutoConfiguration extends CompilerAutoConfiguration {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user