Polish "Clarify behaviour of AnnotationBeanNameGenerator with acronyms"

See gh-2030
This commit is contained in:
Stephane Nicoll 2021-11-24 16:00:11 +01:00
parent 341f4882ed
commit a1b2695c3a
1 changed files with 2 additions and 2 deletions

View File

@ -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.
@ -47,7 +47,7 @@ import org.springframework.util.StringUtils;
*
* <p>If the annotation's value doesn't indicate a bean name, an appropriate
* name will be built based on the short name of the class (with the first
* letter lower-cased). If two first letters of class name are uppercase, bean name will be unchanged. For example:
* letter lower-cased), unless the two first letters are uppercase. For example:
*
* <pre class="code">com.xyz.FooServiceImpl -&gt; fooServiceImpl</pre>
* <pre class="code">com.xyz.URLFooServiceImpl -&gt; URLFooServiceImpl</pre>