Skip to content

Commit f03ccd5

Browse files
committed
Fix Javadoc in AcceptHeaderLocaleResolver
Closes gh-26793
1 parent bcc6171 commit f03ccd5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-webmvc/src/main/java/org/springframework/web/servlet/i18n/AcceptHeaderLocaleResolver.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2020 the original author or authors.
2+
* Copyright 2002-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -72,7 +72,7 @@ public List<Locale> getSupportedLocales() {
7272
/**
7373
* Configure a fixed default locale to fall back on if the request does not
7474
* have an "Accept-Language" header.
75-
* <p>By default this is not set in which case when there is "Accept-Language"
75+
* <p>By default this is not set in which case when there is no "Accept-Language"
7676
* header, the default locale for the server is used as defined in
7777
* {@link HttpServletRequest#getLocale()}.
7878
* @param defaultLocale the default locale to use

0 commit comments

Comments
 (0)