Refactoring: project and java package

This commit is contained in:
fecaille
2016-04-06 13:38:50 +02:00
parent 9c27e23174
commit f792354df6
8 changed files with 17 additions and 17 deletions

View File

@@ -1,4 +1,4 @@
package com.opengroupe.cloud.saas;
package fr.pavnay.demo.springboot.react;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

View File

@@ -1,4 +1,4 @@
package com.opengroupe.cloud.saas.domain;
package fr.pavnay.demo.springboot.react.domain;
public class Comment {

View File

@@ -1,4 +1,4 @@
package com.opengroupe.cloud.saas.rest;
package fr.pavnay.demo.springboot.react.rest;
import java.util.List;
@@ -9,8 +9,8 @@ import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;
import com.opengroupe.cloud.saas.domain.Comment;
import com.opengroupe.cloud.saas.service.CommentService;
import fr.pavnay.demo.springboot.react.domain.Comment;
import fr.pavnay.demo.springboot.react.service.CommentService;
@RestController
public class CommentController {

View File

@@ -1,4 +1,4 @@
package com.opengroupe.cloud.saas.service;
package fr.pavnay.demo.springboot.react.service;
import java.util.ArrayList;
import java.util.Arrays;
@@ -8,7 +8,7 @@ import javax.annotation.PostConstruct;
import org.springframework.stereotype.Component;
import com.opengroupe.cloud.saas.domain.Comment;
import fr.pavnay.demo.springboot.react.domain.Comment;
@Component
public class CommentService {

View File

@@ -1,4 +1,4 @@
package com.opengroupe.cloud.saas.util;
package fr.pavnay.demo.springboot.react.util;
import java.io.IOException;
import java.io.InputStream;

View File

@@ -1,4 +1,4 @@
package com.opengroupe.cloud.saas.web;
package fr.pavnay.demo.springboot.react.web;
import java.util.List;
@@ -11,9 +11,10 @@ import org.springframework.web.bind.annotation.RequestParam;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.opengroupe.cloud.saas.domain.Comment;
import com.opengroupe.cloud.saas.service.CommentService;
import com.opengroupe.cloud.saas.util.JavaScriptEngine;
import fr.pavnay.demo.springboot.react.domain.Comment;
import fr.pavnay.demo.springboot.react.service.CommentService;
import fr.pavnay.demo.springboot.react.util.JavaScriptEngine;
@Controller
public class ViewController {