Samples cleanup
- Move common properties to samples parent - Avoid explicit `ComponentScan` by moving all the classes to the same package
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package transform;
|
||||
package demo;
|
||||
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
@@ -18,12 +18,8 @@ package demo;
|
||||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.context.annotation.ComponentScan;
|
||||
|
||||
import transform.LoggingTransformer;
|
||||
|
||||
@SpringBootApplication
|
||||
@ComponentScan(basePackageClasses=LoggingTransformer.class)
|
||||
public class TransformApplication {
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
Reference in New Issue
Block a user