Honor overridden AcceptHeaderLocaleContextResolver.getDefaultLocale()

Closes gh-24871
This commit is contained in:
Juergen Hoeller
2020-04-09 12:03:29 +02:00
parent 906583c40a
commit a4bba6aff2
2 changed files with 8 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2018 the original author or authors.
* Copyright 2002-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -84,6 +84,7 @@ public class AcceptHeaderLocaleResolver implements LocaleResolver {
/**
* The configured default locale, if any.
* <p>This method may be overridden in subclasses.
* @since 4.3
*/
@Nullable