Change package name

This commit is contained in:
Grzegorz Piwowarek 2016-07-24 10:11:46 +03:00
parent deaf809ec7
commit 94be709386
6 changed files with 9 additions and 9 deletions

View File

@ -1,6 +1,6 @@
package com.baledung.controller;
package com.baeldung.controller;
import com.baledung.student.Student;
import com.baeldung.student.Student;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

View File

@ -1,6 +1,6 @@
package com.baledung.controller;
package com.baeldung.controller;
import com.baledung.student.Student;
import com.baeldung.student.Student;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

View File

@ -2,7 +2,7 @@
/**
* @author Prashant Dutta
*/
package com.baledung.controller;
package com.baeldung.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

View File

@ -1,4 +1,4 @@
package com.baledung.student;
package com.baeldung.student;
public class Student {
private String name;

View File

@ -10,7 +10,7 @@
http://www.springframework.org/schema/context/spring-context-4.0.xsd
http://www.springframework.org/schema/mvc
http://www.springframework.org/schema/mvc/spring-mvc-4.0.xsd">
<context:component-scan base-package="com.baledung.controller" />
<context:component-scan base-package="com.baeldung.controller" />
<mvc:annotation-driven />
<bean class="org.springframework.web.servlet.view.InternalResourceViewResolver">

View File

@ -1,4 +1,4 @@
package com.baledung.test;
package com.baeldung.test;
import org.junit.Assert;
import org.junit.Before;
@ -14,7 +14,7 @@ import org.springframework.test.web.servlet.setup.MockMvcBuilders;
import org.springframework.web.context.WebApplicationContext;
import org.springframework.web.servlet.ModelAndView;
import com.baledung.student.Student;
import com.baeldung.student.Student;
import com.fasterxml.jackson.databind.ObjectMapper;
@RunWith(SpringJUnit4ClassRunner.class)