The following style updates have been made in anticipation of
substantive changes in subsequent commits:
- organize imports
- correct whitespace errors (leading spaces in code, tabs in Javadoc)
- wrap Javadoc at 90 chars; make imperative ("Return" vs. "Returns")
- use conventional constructor argument wrapping
A serialVersionUID has also been added to RestClientException and its
ResourceAccessException subclass for consistency with the rest of that
same exception hierarchy.
Issue: SPR-7938
@ -83,15 +84,15 @@ public class DefaultResponseErrorHandler implements ResponseErrorHandler {
@@ -83,15 +84,15 @@ public class DefaultResponseErrorHandler implements ResponseErrorHandler {
@ -31,8 +31,10 @@ public class HttpClientErrorException extends HttpStatusCodeException {
@@ -31,8 +31,10 @@ public class HttpClientErrorException extends HttpStatusCodeException {
@ -40,7 +42,8 @@ public class HttpClientErrorException extends HttpStatusCodeException {
@@ -40,7 +42,8 @@ public class HttpClientErrorException extends HttpStatusCodeException {
@ -49,18 +52,16 @@ public class HttpClientErrorException extends HttpStatusCodeException {
@@ -49,18 +52,16 @@ public class HttpClientErrorException extends HttpStatusCodeException {
@ -31,9 +31,10 @@ public class HttpServerErrorException extends HttpStatusCodeException {
@@ -31,9 +31,10 @@ public class HttpServerErrorException extends HttpStatusCodeException {
@ -41,8 +42,8 @@ public class HttpServerErrorException extends HttpStatusCodeException {
@@ -41,8 +42,8 @@ public class HttpServerErrorException extends HttpStatusCodeException {
@ -51,19 +52,17 @@ public class HttpServerErrorException extends HttpStatusCodeException {
@@ -51,19 +52,17 @@ public class HttpServerErrorException extends HttpStatusCodeException {
@ -35,7 +39,8 @@ public class RestClientException extends NestedRuntimeException {
@@ -35,7 +39,8 @@ public class RestClientException extends NestedRuntimeException {