Skip to content

Commit

Permalink
Fix Javadoc in AcceptHeaderLocaleResolver
Browse files Browse the repository at this point in the history
Closes gh-26793
  • Loading branch information
sbrannen committed Apr 13, 2021
1 parent bcc6171 commit f03ccd5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2002-2020 the original author or authors.
* Copyright 2002-2021 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.
Expand Down Expand Up @@ -72,7 +72,7 @@ public List<Locale> getSupportedLocales() {
/**
* Configure a fixed default locale to fall back on if the request does not
* have an "Accept-Language" header.
* <p>By default this is not set in which case when there is "Accept-Language"
* <p>By default this is not set in which case when there is no "Accept-Language"
* header, the default locale for the server is used as defined in
* {@link HttpServletRequest#getLocale()}.
* @param defaultLocale the default locale to use
Expand Down

0 comments on commit f03ccd5

Please sign in to comment.