Polish sample package names

This commit is contained in:
Phillip Webb
2015-06-23 00:47:12 -07:00
parent 9c0335fc29
commit 1ce617f1ae
163 changed files with 401 additions and 760 deletions

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package sample;
package sample.hateoas;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package sample.domain;
package sample.hateoas.domain;
public class Customer {

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package sample.domain;
package sample.hateoas.domain;
import java.util.List;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package sample.domain;
package sample.hateoas.domain;
import java.util.ArrayList;
import java.util.List;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package sample.web;
package sample.hateoas.web;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.hateoas.EntityLinks;
@@ -29,8 +29,8 @@ import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import sample.domain.Customer;
import sample.domain.CustomerRepository;
import sample.hateoas.domain.Customer;
import sample.hateoas.domain.CustomerRepository;
@Controller
@RequestMapping("/customers")