Polish formatting

This commit is contained in:
Sam Brannen 2022-05-09 15:31:53 +02:00
parent 6c131ef9dc
commit f7d032c924
3 changed files with 1 additions and 9 deletions

View File

@ -31,7 +31,6 @@ import org.springframework.validation.FieldError;
import org.springframework.validation.ObjectError;
import org.springframework.web.server.ServerWebInputException;
/**
* {@link ServerWebInputException} subclass that indicates a data binding or
* validation failure.
@ -54,14 +53,13 @@ public class WebExchangeBindException extends ServerWebInputException implements
/**
* Return the BindingResult that this BindException wraps.
* Will typically be a BeanPropertyBindingResult.
* <p>Will typically be a BeanPropertyBindingResult.
* @see BeanPropertyBindingResult
*/
public final BindingResult getBindingResult() {
return this.bindingResult;
}
@Override
public String getObjectName() {
return this.bindingResult.getObjectName();
@ -87,7 +85,6 @@ public class WebExchangeBindException extends ServerWebInputException implements
this.bindingResult.popNestedPath();
}
@Override
public void reject(String errorCode) {
this.bindingResult.reject(errorCode);
@ -125,7 +122,6 @@ public class WebExchangeBindException extends ServerWebInputException implements
this.bindingResult.addAllErrors(errors);
}
@Override
public boolean hasErrors() {
return this.bindingResult.hasErrors();
@ -276,7 +272,6 @@ public class WebExchangeBindException extends ServerWebInputException implements
return this.bindingResult.getSuppressedFields();
}
/**
* Returns diagnostic information about the errors held in this object.
*/

View File

@ -16,10 +16,8 @@
package org.springframework.web.server;
import org.springframework.core.MethodParameter;
/**
* {@link ServerWebInputException} subclass that indicates a missing request
* value such as a request header, cookie value, query parameter, etc.

View File

@ -16,7 +16,6 @@
package org.springframework.web.server;
import java.util.List;
import org.springframework.util.MultiValueMap;