Merge pull request #580 from skoiloth/master

Removed unused coed
This commit is contained in:
tomjoebob 2016-08-05 11:57:45 -06:00 committed by GitHub
commit 3c8f4081ed
1 changed files with 0 additions and 4 deletions

View File

@ -31,10 +31,6 @@ public class SpringIntegrationTest {
final HeaderSettingRequestCallback requestCallback = new HeaderSettingRequestCallback(headers);
final ResponseResultErrorHandler errorHandler = new ResponseResultErrorHandler();
if (restTemplate == null) {
restTemplate = new RestTemplate();
}
restTemplate.setErrorHandler(errorHandler);
latestResponse = restTemplate.execute(url, HttpMethod.GET, requestCallback, new ResponseExtractor<ResponseResults>() {
@Override