BAEL-20262: Migrate spring-core-2 module to the com.baeldung package

This commit is contained in:
Krzysztof Woyke
2019-12-20 12:56:36 +01:00
parent c69b2a5ca3
commit fd92e64815
112 changed files with 150 additions and 151 deletions
@@ -1,4 +1,4 @@
package org.baeldung.autowire.sample;
package com.baeldung.autowire.sample;
import org.junit.Assert;
import org.junit.Test;
@@ -1,6 +1,6 @@
package org.baeldung.bean.injection;
package com.baeldung.bean.injection;
import org.baeldung.bean.config.ConstructorBasedShipConfig;
import com.baeldung.bean.config.ConstructorBasedShipConfig;
import org.junit.Assert;
import org.junit.Test;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
@@ -1,4 +1,4 @@
package org.baeldung.bean.injection;
package com.baeldung.bean.injection;
import org.junit.Assert;
import org.junit.Test;
@@ -1,6 +1,6 @@
package org.baeldung.bean.injection;
package com.baeldung.bean.injection;
import org.baeldung.bean.config.SetterBasedShipConfig;
import com.baeldung.bean.config.SetterBasedShipConfig;
import org.junit.Assert;
import org.junit.Test;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
@@ -1,4 +1,4 @@
package org.baeldung.bean.injection;
package com.baeldung.bean.injection;
import org.junit.Assert;
import org.junit.Test;
@@ -1,4 +1,4 @@
package org.baeldung.customannotation;
package com.baeldung.customannotation;
import java.io.Serializable;
@@ -1,4 +1,4 @@
package org.baeldung.customannotation;
package com.baeldung.customannotation;
import org.springframework.stereotype.Repository;
@@ -1,4 +1,4 @@
package org.baeldung.customannotation;
package com.baeldung.customannotation;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.hamcrest.CoreMatchers.is;
@@ -1,4 +1,4 @@
package org.baeldung.customannotation;
package com.baeldung.customannotation;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.CoreMatchers.notNullValue;
@@ -1,4 +1,4 @@
package org.baeldung.customannotation;
package com.baeldung.customannotation;
import java.io.Serializable;
@@ -1,4 +1,4 @@
package org.baeldung.customscope;
package com.baeldung.customscope;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.hamcrest.CoreMatchers.not;
@@ -46,7 +46,7 @@ public class TenantScopeIntegrationTest {
public final void whenComponentScan_thenContextContainsFooAndBar() {
AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext();
try {
ctx.scan("org.baeldung.customscope");
ctx.scan("com.baeldung.customscope");
ctx.refresh();
TenantBean foo = (TenantBean) ctx.getBean("foo", TenantBean.class);
@@ -1,4 +1,4 @@
package org.baeldung.order;
package com.baeldung.order;
import static org.hamcrest.CoreMatchers.equalTo;
@@ -21,7 +21,7 @@ import org.springframework.test.context.support.AnnotationConfigContextLoader;
public class RatingRetrieverUnitTest {
@Configuration
@ComponentScan(basePackages = {"org.baeldung.order"})
@ComponentScan(basePackages = {"com.baeldung.order"})
static class ContextConfiguration {}
@Autowired
@@ -1,4 +1,4 @@
package org.baeldung.profiles;
package com.baeldung.profiles;
import org.junit.Assert;
import org.junit.Test;
@@ -1,4 +1,4 @@
package org.baeldung.profiles;
package com.baeldung.profiles;
import org.junit.Assert;
import org.junit.Test;
@@ -1,4 +1,4 @@
package org.baeldung.profiles;
package com.baeldung.profiles;
import org.junit.Assert;
import org.junit.Test;
@@ -1,4 +1,4 @@
package org.baeldung.profiles;
package com.baeldung.profiles;
import org.junit.Assert;
import org.junit.Test;
@@ -1,4 +1,4 @@
package org.baeldung.scopes;
package com.baeldung.scopes;
import org.junit.Assert;
import org.junit.Test;
@@ -1,6 +1,6 @@
package org.baeldung.springevents.asynchronous;
package com.baeldung.springevents.asynchronous;
import org.baeldung.springevents.synchronous.CustomSpringEventPublisher;
import com.baeldung.springevents.synchronous.CustomSpringEventPublisher;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
@@ -1,6 +1,5 @@
package org.baeldung.springevents.synchronous;
package com.baeldung.springevents.synchronous;
import org.baeldung.springevents.synchronous.SynchronousSpringEventsConfig;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
@@ -1,4 +1,4 @@
package org.baeldung.springevents.synchronous;
package com.baeldung.springevents.synchronous;
import org.junit.Test;
import org.junit.runner.RunWith;
@@ -1,4 +1,4 @@
package org.baeldung.springevents.synchronous;
package com.baeldung.springevents.synchronous;
import org.junit.Ignore;
import org.junit.Test;
@@ -1,4 +1,4 @@
package org.baeldung.startup;
package com.baeldung.startup;
import org.assertj.core.api.Assertions;
import org.junit.Test;
@@ -1,4 +1,4 @@
package org.baeldung.startup;
package com.baeldung.startup;
import org.junit.Test;
import org.junit.runner.RunWith;