Format with Eclipse Oxygen SR2
This commit is contained in:
@@ -370,7 +370,7 @@ public class MockitoPostProcessor extends InstantiationAwareBeanPostProcessorAda
|
||||
@Override
|
||||
public PropertyValues postProcessPropertyValues(PropertyValues pvs,
|
||||
PropertyDescriptor[] pds, final Object bean, String beanName)
|
||||
throws BeansException {
|
||||
throws BeansException {
|
||||
ReflectionUtils.doWithFields(bean.getClass(), new FieldCallback() {
|
||||
|
||||
@Override
|
||||
|
||||
@@ -492,7 +492,7 @@ public class TestRestTemplate {
|
||||
*/
|
||||
public <T> ResponseEntity<T> postForEntity(String url, Object request,
|
||||
Class<T> responseType, Map<String, ?> urlVariables)
|
||||
throws RestClientException {
|
||||
throws RestClientException {
|
||||
return this.restTemplate.postForEntity(url, request, responseType, urlVariables);
|
||||
}
|
||||
|
||||
@@ -735,7 +735,7 @@ public class TestRestTemplate {
|
||||
*/
|
||||
public <T> ResponseEntity<T> exchange(String url, HttpMethod method,
|
||||
HttpEntity<?> requestEntity, Class<T> responseType, Object... urlVariables)
|
||||
throws RestClientException {
|
||||
throws RestClientException {
|
||||
return this.restTemplate.exchange(url, method, requestEntity, responseType,
|
||||
urlVariables);
|
||||
}
|
||||
@@ -780,7 +780,7 @@ public class TestRestTemplate {
|
||||
*/
|
||||
public <T> ResponseEntity<T> exchange(URI url, HttpMethod method,
|
||||
HttpEntity<?> requestEntity, Class<T> responseType)
|
||||
throws RestClientException {
|
||||
throws RestClientException {
|
||||
return this.restTemplate.exchange(applyRootUriIfNecessary(url), method,
|
||||
requestEntity, responseType);
|
||||
}
|
||||
@@ -863,7 +863,7 @@ public class TestRestTemplate {
|
||||
*/
|
||||
public <T> ResponseEntity<T> exchange(URI url, HttpMethod method,
|
||||
HttpEntity<?> requestEntity, ParameterizedTypeReference<T> responseType)
|
||||
throws RestClientException {
|
||||
throws RestClientException {
|
||||
return this.restTemplate.exchange(applyRootUriIfNecessary(url), method,
|
||||
requestEntity, responseType);
|
||||
}
|
||||
@@ -931,7 +931,7 @@ public class TestRestTemplate {
|
||||
*/
|
||||
public <T> T execute(String url, HttpMethod method, RequestCallback requestCallback,
|
||||
ResponseExtractor<T> responseExtractor, Object... urlVariables)
|
||||
throws RestClientException {
|
||||
throws RestClientException {
|
||||
return this.restTemplate.execute(url, method, requestCallback, responseExtractor,
|
||||
urlVariables);
|
||||
}
|
||||
@@ -955,7 +955,7 @@ public class TestRestTemplate {
|
||||
*/
|
||||
public <T> T execute(String url, HttpMethod method, RequestCallback requestCallback,
|
||||
ResponseExtractor<T> responseExtractor, Map<String, ?> urlVariables)
|
||||
throws RestClientException {
|
||||
throws RestClientException {
|
||||
return this.restTemplate.execute(url, method, requestCallback, responseExtractor,
|
||||
urlVariables);
|
||||
}
|
||||
|
||||
@@ -255,7 +255,7 @@ public class TestRestTemplateTests {
|
||||
testRestTemplate.exchange(
|
||||
new RequestEntity<String>(HttpMethod.GET, relativeUri),
|
||||
new ParameterizedTypeReference<String>() {
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
});
|
||||
@@ -286,7 +286,7 @@ public class TestRestTemplateTests {
|
||||
testRestTemplate.exchange(relativeUri, HttpMethod.GET,
|
||||
new HttpEntity<byte[]>(new byte[0]),
|
||||
new ParameterizedTypeReference<String>() {
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user