Add missing Javadoc

See gh-29574
This commit is contained in:
Sam Brannen 2022-12-13 13:45:14 +01:00
parent 618989d317
commit c7bdfbea4f
2 changed files with 8 additions and 0 deletions

View File

@ -75,6 +75,10 @@ public abstract class ResponseEntityExceptionHandler implements MessageSourceAwa
this.messageSource = messageSource;
}
/**
* Get the {@link MessageSource} that this exception handler uses.
* @since 6.0.3
*/
@Nullable
protected MessageSource getMessageSource() {
return this.messageSource;

View File

@ -96,6 +96,10 @@ public abstract class ResponseEntityExceptionHandler implements MessageSourceAwa
this.messageSource = messageSource;
}
/**
* Get the {@link MessageSource} that this exception handler uses.
* @since 6.0.3
*/
@Nullable
protected MessageSource getMessageSource() {
return this.messageSource;