Polish
This commit is contained in:
@@ -83,18 +83,19 @@ public class SpringApplicationBuilder {
|
||||
this.application = createSpringApplication(sources);
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a new {@link org.springframework.boot.SpringApplication} instances from the given sources. Subclasses may
|
||||
* override in order to provide a custom subclass of {@link org.springframework.boot.SpringApplication}
|
||||
*
|
||||
* @param sources The sources
|
||||
* @return The {@link org.springframework.boot.SpringApplication} instance
|
||||
*/
|
||||
protected SpringApplication createSpringApplication(Object... sources) {
|
||||
return new SpringApplication(sources);
|
||||
}
|
||||
/**
|
||||
* Creates a new {@link org.springframework.boot.SpringApplication} instances from the
|
||||
* given sources. Subclasses may override in order to provide a custom subclass of
|
||||
* {@link org.springframework.boot.SpringApplication}
|
||||
* @param sources The sources
|
||||
* @return The {@link org.springframework.boot.SpringApplication} instance
|
||||
* @since 1.1.0
|
||||
*/
|
||||
protected SpringApplication createSpringApplication(Object... sources) {
|
||||
return new SpringApplication(sources);
|
||||
}
|
||||
|
||||
/**
|
||||
/**
|
||||
* Accessor for the current application context.
|
||||
* @return the current application context (or null if not yet running)
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user