Trinh Tong пре 7 година
родитељ
комит
96b6775148

+ 3
- 3
src/main/java/io/zipcoder/persistenceapp/controller/PersonController.java Прегледај датотеку

@@ -6,9 +6,9 @@ import org.springframework.beans.factory.annotation.Autowired;
6 6
 import org.springframework.http.HttpStatus;
7 7
 import org.springframework.http.ResponseEntity;
8 8
 
9
-import org.springframework.web.bind.annotation.*;
10
-
11
-import javax.persistence.criteria.CriteriaBuilder;
9
+import org.springframework.web.bind.annotation.RequestMapping;
10
+import org.springframework.web.bind.annotation.RequestMethod;
11
+import org.springframework.web.bind.annotation.RestController;
12 12
 
13 13
 @RestController
14 14
 public class PersonController {

+ 2
- 0
src/main/java/io/zipcoder/persistenceapp/service/PersonService.java Прегледај датотеку

@@ -10,6 +10,8 @@ import org.springframework.stereotype.Service;
10 10
 import java.sql.JDBCType;
11 11
 import java.sql.ResultSet;
12 12
 import java.sql.SQLException;
13
+import java.util.Arrays;
14
+import java.util.Iterator;
13 15
 import java.util.List;
14 16
 
15 17
 /*