BAEL-17449 Slice 19 | The top 100 articles should have their own package in the module (#7755)
This commit is contained in:
parent
2f5dcfaa65
commit
d5abe46c25
|
@ -1,7 +1,5 @@
|
|||
package org.baeldung.spring.config;
|
||||
package org.baeldung.scopes;
|
||||
|
||||
import org.baeldung.scopes.HelloMessageGenerator;
|
||||
import org.baeldung.scopes.Person;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.ComponentScan;
|
||||
import org.springframework.context.annotation.Configuration;
|
|
@ -1,7 +1,8 @@
|
|||
package com.baeldung.validation.application;
|
||||
package com.baeldung.beanvalidation.application;
|
||||
|
||||
import com.baeldung.beanvalidation.application.entities.User;
|
||||
import com.baeldung.beanvalidation.application.repositories.UserRepository;
|
||||
|
||||
import com.baeldung.validation.application.entities.User;
|
||||
import com.baeldung.validation.application.repositories.UserRepository;
|
||||
import org.springframework.boot.CommandLineRunner;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
@ -1,7 +1,8 @@
|
|||
package com.baeldung.validation.application.controllers;
|
||||
package com.baeldung.beanvalidation.application.controllers;
|
||||
|
||||
import com.baeldung.beanvalidation.application.entities.User;
|
||||
import com.baeldung.beanvalidation.application.repositories.UserRepository;
|
||||
|
||||
import com.baeldung.validation.application.entities.User;
|
||||
import com.baeldung.validation.application.repositories.UserRepository;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.validation.application.entities;
|
||||
package com.baeldung.beanvalidation.application.entities;
|
||||
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.GeneratedValue;
|
|
@ -1,8 +1,9 @@
|
|||
package com.baeldung.validation.application.repositories;
|
||||
package com.baeldung.beanvalidation.application.repositories;
|
||||
|
||||
import com.baeldung.validation.application.entities.User;
|
||||
import org.springframework.data.repository.CrudRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
import com.baeldung.beanvalidation.application.entities.User;
|
||||
|
||||
@Repository
|
||||
public interface UserRepository extends CrudRepository<User, Long> {}
|
|
@ -1,7 +1,8 @@
|
|||
package com.baeldung.validation.application;
|
||||
package com.baeldung.beanvalidation.application;
|
||||
|
||||
import com.baeldung.beanvalidation.application.controllers.UserController;
|
||||
import com.baeldung.beanvalidation.application.repositories.UserRepository;
|
||||
|
||||
import com.baeldung.validation.application.controllers.UserController;
|
||||
import com.baeldung.validation.application.repositories.UserRepository;
|
||||
import java.nio.charset.Charset;
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
import org.hamcrest.core.Is;
|
Loading…
Reference in New Issue