Rename package to conform with site name

This commit is contained in:
David Morley 2016-01-05 21:37:48 -06:00
parent 4192ee3f75
commit bb321982a1
7 changed files with 270 additions and 271 deletions

View File

@ -1,7 +1,7 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.baeldung</groupId>
<groupId>com.baeldung</groupId>
<artifactId>spring-thymeleaf</artifactId>
<version>0.1-SNAPSHOT</version>
<packaging>war</packaging>

View File

@ -1,4 +1,4 @@
package org.baeldung.thymeleaf.config;
package com.baeldung.thymeleaf.config;
import javax.servlet.ServletRegistration.Dynamic;

View File

@ -1,6 +1,6 @@
package org.baeldung.thymeleaf.config;
package com.baeldung.thymeleaf.config;
import org.baeldung.thymeleaf.formatter.NameFormatter;
import com.baeldung.thymeleaf.formatter.NameFormatter;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
@ -16,7 +16,7 @@ import org.thymeleaf.templateresolver.ServletContextTemplateResolver;
@Configuration
@EnableWebMvc
@ComponentScan({ "org.baeldung.thymeleaf" })
@ComponentScan({ "com.baeldung.thymeleaf" })
/**
* Java configuration file that is used for Spring MVC and Thymeleaf
* configurations

View File

@ -1,4 +1,4 @@
package org.baeldung.thymeleaf.controller;
package com.baeldung.thymeleaf.controller;
import java.text.DateFormat;
import java.util.Date;

View File

@ -1,10 +1,11 @@
package org.baeldung.thymeleaf.controller;
package com.baeldung.thymeleaf.controller;
import java.util.ArrayList;
import java.util.List;
import javax.validation.Valid;
import com.baeldung.thymeleaf.model.Student;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.validation.BindingResult;
@ -12,8 +13,6 @@ import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.baeldung.thymeleaf.model.Student;
/**
* Handles requests for the student model.
*

View File

@ -1,4 +1,4 @@
package org.baeldung.thymeleaf.formatter;
package com.baeldung.thymeleaf.formatter;
import java.text.ParseException;
import java.util.Locale;

View File

@ -1,4 +1,4 @@
package org.baeldung.thymeleaf.model;
package com.baeldung.thymeleaf.model;
import java.io.Serializable;