JAVA-960: Fix conflicts

This commit is contained in:
Krzysiek
2020-03-19 23:06:52 +01:00
parent 25e76cdb88
commit 989c523308
5 changed files with 4 additions and 12 deletions
@@ -26,8 +26,4 @@ public class SpringConfig {
return new RestTemplateBuilder(customRestTemplateCustomizer());
}
@Bean
public RestTemplate restTemplate() {
return new RestTemplate();
}
}
@@ -7,7 +7,7 @@ import com.baeldung.resttemplate.lists.dto.Employee;
import java.util.ArrayList;
import java.util.List;
@Service
@Service("EmployeeListService")
public class EmployeeService
{
public List<Employee> getAllEmployees()
@@ -20,7 +20,7 @@ import com.baeldung.sampleapp.web.dto.Foo;
import com.baeldung.sampleapp.web.exception.ResourceNotFoundException;
@Controller
@RequestMapping(value = "/foos")
@RequestMapping(value = "/foo")
public class MyFooController {
private final Map<Long, Foo> myfoos;