Renamed packages

Issue: #54095231
This commit is contained in:
Phillip Webb
2013-07-26 14:10:38 -07:00
parent 3f2bb03fb8
commit b665a2bb1d
332 changed files with 785 additions and 826 deletions

View File

@@ -38,10 +38,9 @@ public class SpringBootCompilerAutoConfiguration extends CompilerAutoConfigurati
@Override
public void applyDependencies(DependencyCustomizer dependencies) {
dependencies.ifAnyMissingClasses(
"org.springframework.boot.strap.SpringApplication").add(
"org.springframework.boot", "spring-boot-up",
dependencies.getProperty("spring.boot.version"));
dependencies.ifAnyMissingClasses("org.springframework.boot.SpringApplication")
.add("org.springframework.boot", "spring-boot-up",
dependencies.getProperty("spring.boot.version"));
}
@Override
@@ -64,8 +63,8 @@ public class SpringBootCompilerAutoConfiguration extends CompilerAutoConfigurati
"org.springframework.context.MessageSource",
"org.springframework.core.annotation.Order",
"org.springframework.core.io.ResourceLoader",
"org.springframework.boot.strap.CommandLineRunner",
"org.springframework.boot.config.EnableAutoConfiguration");
"org.springframework.boot.CommandLineRunner",
"org.springframework.boot.autoconfigure.EnableAutoConfiguration");
imports.addStarImports("org.springframework.stereotype");
}
@@ -82,7 +81,7 @@ public class SpringBootCompilerAutoConfiguration extends CompilerAutoConfigurati
if (!hasEnableAutoConfigureAnnotation(classNode)) {
try {
Class<?> annotationClass = source.getClassLoader().loadClass(
"org.springframework.boot.config.EnableAutoConfiguration");
"org.springframework.boot.autoconfigure.EnableAutoConfiguration");
AnnotationNode annotationNode = new AnnotationNode(new ClassNode(
annotationClass));
classNode.addAnnotation(annotationNode);

View File

@@ -135,7 +135,7 @@ public class SpringApplicationRunner {
try {
// User reflection to load and call Spring
Class<?> application = getContextClassLoader().loadClass(
"org.springframework.boot.strap.SpringApplication");
"org.springframework.boot.SpringApplication");
Method method = application.getMethod("run", Object[].class,
String[].class);
this.applicationContext = method.invoke(null, this.sources,