mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Polish
This commit is contained in:
parent
2f138d84dd
commit
5863795e10
@ -94,12 +94,10 @@ class ProjectLibraries implements Libraries {
|
||||
}
|
||||
|
||||
private Set<ResolvedArtifact> getResolvedArtifacts(Configuration configuration) {
|
||||
if (configuration != null) {
|
||||
return configuration.getResolvedConfiguration().getResolvedArtifacts();
|
||||
}
|
||||
else {
|
||||
if (configuration == null) {
|
||||
return Collections.emptySet();
|
||||
}
|
||||
return configuration.getResolvedConfiguration().getResolvedArtifacts();
|
||||
}
|
||||
|
||||
private Set<ResolvedArtifact> getResolvedArtifacts(String configurationName) {
|
||||
|
@ -78,8 +78,8 @@ public class SpringApplicationContextLoader extends AbstractContextLoader {
|
||||
}
|
||||
|
||||
/**
|
||||
* Builds new {@link org.springframework.boot.SpringApplication} instance. You can override
|
||||
* this method to add custom behaviour
|
||||
* Builds new {@link org.springframework.boot.SpringApplication} instance. You can
|
||||
* override this method to add custom behaviour
|
||||
* @return {@link org.springframework.boot.SpringApplication} instance
|
||||
*/
|
||||
protected SpringApplication getSpringApplication() {
|
||||
|
Loading…
Reference in New Issue
Block a user