BAEL-16809 Slice 4 | The top 100 articles should have their own package in the module (#7615)

This commit is contained in:
Dhawal Kapil
2019-08-25 04:27:42 +05:30
committed by Josh Cummings
parent d3ade897d1
commit 64f32d82eb
16 changed files with 23 additions and 20 deletions
@@ -1,4 +1,4 @@
package org.baeldung.sample;
package org.baeldung.autowire.sample;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
@@ -1,10 +1,10 @@
package org.baeldung.sample;
package org.baeldung.autowire.sample;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
@Configuration
@ComponentScan("org.baeldung.sample")
@ComponentScan("org.baeldung.autowire.sample")
public class AppConfig {
}
@@ -1,4 +1,4 @@
package org.baeldung.sample;
package org.baeldung.autowire.sample;
import org.springframework.stereotype.Component;
@@ -0,0 +1,5 @@
package org.baeldung.autowire.sample;
public class FooDAO {
}
@@ -1,4 +1,4 @@
package org.baeldung.sample;
package org.baeldung.autowire.sample;
import org.springframework.stereotype.Component;
@@ -1,4 +1,4 @@
package org.baeldung.sample;
package org.baeldung.autowire.sample;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
@@ -1,4 +1,4 @@
package org.baeldung.sample;
package org.baeldung.autowire.sample;
public interface Formatter {
@@ -1,4 +1,4 @@
package org.baeldung.sample;
package org.baeldung.autowire.sample;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
@@ -1,4 +1,4 @@
package org.baeldung.startup;
package org.baeldung.profiles;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.env.Environment;
@@ -1,5 +0,0 @@
package org.baeldung.sample;
public class FooDAO {
}
@@ -1,4 +1,4 @@
package org.baeldung.sample;
package org.baeldung.autowire.sample;
import org.junit.Assert;
import org.junit.Test;