BAEL-17449 Slice 19 | The top 100 articles should have their own package in the module (#7755)

This commit is contained in:
Dhawal Kapil 2019-09-09 19:02:09 +05:30 committed by Josh Cummings
parent 2f5dcfaa65
commit d5abe46c25
6 changed files with 17 additions and 15 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -1,4 +1,4 @@
package com.baeldung.validation.application.entities;
package com.baeldung.beanvalidation.application.entities;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;

View File

@ -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> {}

View File

@ -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;