BAEL-20262: Migrate spring-core-2 module to the com.baeldung package
This commit is contained in:
@@ -201,7 +201,7 @@
|
||||
</profiles>
|
||||
|
||||
<properties>
|
||||
<start-class>org.baeldung.sample.App</start-class>
|
||||
<start-class>com.baeldung.sample.App</start-class>
|
||||
<!-- Spring -->
|
||||
<org.springframework.version>5.0.6.RELEASE</org.springframework.version>
|
||||
<annotation-api.version>1.3.2</annotation-api.version>
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package org.baeldung.autowire.sample;
|
||||
package com.baeldung.autowire.sample;
|
||||
|
||||
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
|
||||
|
||||
+2
-2
@@ -1,10 +1,10 @@
|
||||
package org.baeldung.autowire.sample;
|
||||
package com.baeldung.autowire.sample;
|
||||
|
||||
import org.springframework.context.annotation.ComponentScan;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
@Configuration
|
||||
@ComponentScan("org.baeldung.autowire.sample")
|
||||
@ComponentScan("com.baeldung.autowire.sample")
|
||||
public class AppConfig {
|
||||
|
||||
}
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package org.baeldung.autowire.sample;
|
||||
package com.baeldung.autowire.sample;
|
||||
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
package com.baeldung.autowire.sample;
|
||||
|
||||
public class FooDAO {
|
||||
|
||||
}
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package org.baeldung.autowire.sample;
|
||||
package com.baeldung.autowire.sample;
|
||||
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package org.baeldung.autowire.sample;
|
||||
package com.baeldung.autowire.sample;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Component;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package org.baeldung.autowire.sample;
|
||||
package com.baeldung.autowire.sample;
|
||||
|
||||
public interface Formatter {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package org.baeldung.autowire.sample;
|
||||
package com.baeldung.autowire.sample;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
+3
-3
@@ -1,7 +1,7 @@
|
||||
package org.baeldung.bean.config;
|
||||
package com.baeldung.bean.config;
|
||||
|
||||
import org.baeldung.bean.injection.Helm;
|
||||
import org.baeldung.bean.injection.Ship;
|
||||
import com.baeldung.bean.injection.Helm;
|
||||
import com.baeldung.bean.injection.Ship;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
+3
-3
@@ -1,7 +1,7 @@
|
||||
package org.baeldung.bean.config;
|
||||
package com.baeldung.bean.config;
|
||||
|
||||
import org.baeldung.bean.injection.Helm;
|
||||
import org.baeldung.bean.injection.Ship;
|
||||
import com.baeldung.bean.injection.Helm;
|
||||
import com.baeldung.bean.injection.Ship;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
|
||||
public class SetterBasedShipConfig {
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package org.baeldung.bean.injection;
|
||||
package com.baeldung.bean.injection;
|
||||
|
||||
public class Helm {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package org.baeldung.bean.injection;
|
||||
package com.baeldung.bean.injection;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
|
||||
+2
-2
@@ -1,9 +1,9 @@
|
||||
package org.baeldung.customannotation;
|
||||
package com.baeldung.customannotation;
|
||||
|
||||
import org.springframework.context.annotation.ComponentScan;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
@Configuration
|
||||
@ComponentScan("org.baeldung.customannotation")
|
||||
@ComponentScan("com.baeldung.customannotation")
|
||||
public class CustomAnnotationConfiguration {
|
||||
}
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package org.baeldung.customannotation;
|
||||
package com.baeldung.customannotation;
|
||||
|
||||
import java.lang.annotation.Documented;
|
||||
import java.lang.annotation.ElementType;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package org.baeldung.customannotation;
|
||||
package com.baeldung.customannotation;
|
||||
|
||||
import org.springframework.beans.BeansException;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package org.baeldung.customannotation;
|
||||
package com.baeldung.customannotation;
|
||||
|
||||
import java.lang.reflect.Constructor;
|
||||
import java.lang.reflect.Field;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package org.baeldung.customannotation;
|
||||
package com.baeldung.customannotation;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package org.baeldung.customscope;
|
||||
package com.baeldung.customscope;
|
||||
|
||||
public class TenantBean {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package org.baeldung.customscope;
|
||||
package com.baeldung.customscope;
|
||||
|
||||
import org.springframework.beans.BeansException;
|
||||
import org.springframework.beans.factory.config.BeanFactoryPostProcessor;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package org.baeldung.customscope;
|
||||
package com.baeldung.customscope;
|
||||
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package org.baeldung.customscope;
|
||||
package com.baeldung.customscope;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.HashMap;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package org.baeldung.customscope;
|
||||
package com.baeldung.customscope;
|
||||
|
||||
import org.springframework.beans.factory.config.BeanFactoryPostProcessor;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package org.baeldung.nullibility;
|
||||
package com.baeldung.nullibility;
|
||||
|
||||
import org.springframework.lang.NonNull;
|
||||
import org.springframework.lang.Nullable;
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
@NonNullApi
|
||||
@NonNullFields
|
||||
package org.baeldung.nullibility;
|
||||
package com.baeldung.nullibility;
|
||||
|
||||
import org.springframework.lang.NonNullApi;
|
||||
import org.springframework.lang.NonNullFields;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package org.baeldung.order;
|
||||
package com.baeldung.order;
|
||||
|
||||
import org.springframework.core.Ordered;
|
||||
import org.springframework.core.annotation.Order;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package org.baeldung.order;
|
||||
package com.baeldung.order;
|
||||
|
||||
import org.springframework.stereotype.Component;
|
||||
import org.springframework.core.annotation.Order;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package org.baeldung.order;
|
||||
package com.baeldung.order;
|
||||
|
||||
import org.springframework.core.annotation.Order;
|
||||
import org.springframework.stereotype.Component;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package org.baeldung.order;
|
||||
package com.baeldung.order;
|
||||
|
||||
public interface Rating {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package org.baeldung.persistence;
|
||||
package com.baeldung.persistence;
|
||||
|
||||
import org.springframework.context.ApplicationListener;
|
||||
import org.springframework.context.event.ContextRefreshedEvent;
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user