Skip to content

Commit 4932ccb

Browse files
committed
delete unnecessary code
1 parent ef056e3 commit 4932ccb

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

FirstRestApp/src/main/java/ru/alishev/springcourse/FirstRestApp/controllers/PeopleController.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,4 @@ public List<Person> getPeople() {
3030
public Person getPerson(@PathVariable("id") int id) {
3131
return peopleService.findOne(id); // Jackson конвертирует в JSON
3232
}
33-
34-
@GetMapping("/helloWorld")
35-
@ResponseBody
36-
public String hello() {
37-
return "Text data";
38-
}
3933
}

0 commit comments

Comments
 (0)