See gh-27827
This commit is contained in:
izeye 2021-12-16 23:15:18 +09:00 committed by Stephane Nicoll
parent fa78fb4351
commit 713795cc34
5 changed files with 4 additions and 5 deletions

View File

@ -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), unless the two first letters are uppercase. For example:
* letter lower-cased), unless the first two letters are uppercase. For example:
*
* <pre class="code">com.xyz.FooServiceImpl -&gt; fooServiceImpl</pre>
* <pre class="code">com.xyz.URLFooServiceImpl -&gt; URLFooServiceImpl</pre>

View File

@ -189,7 +189,7 @@ public class ContentCachingRequestWrapper extends HttpServletRequestWrapper {
* Return the cached request content as a byte array.
* <p>The returned array will never be larger than the content cache limit.
* <p><strong>Note:</strong> The byte array returned from this method
* reflects the amount of content that has has been read at the time when it
* reflects the amount of content that has been read at the time when it
* is called. If the application does not read the content, this method
* returns an empty array.
* @see #ContentCachingRequestWrapper(HttpServletRequest, int)

View File

@ -38,7 +38,7 @@ import static org.assertj.core.api.Assertions.assertThat;
* @author Arjen Poutsma
* @author Brian Clozel
*/
public class RouterFunctionMappingTests {
class RouterFunctionMappingTests {
private final ServerCodecConfigurer codecConfigurer = ServerCodecConfigurer.create();

View File

@ -340,7 +340,7 @@ public class ExceptionHandlerExceptionResolverTests {
}
@Test //gh-27156
void resolveExceptionWithReasonResovledByMessageSource() throws Exception {
void resolveExceptionWithReasonResolvedByMessageSource() throws Exception {
AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext(MyConfig.class);
StaticApplicationContext context = new StaticApplicationContext(ctx);
Locale locale = Locale.ENGLISH;

View File

@ -196,7 +196,6 @@ public class ServletInvocableHandlerMethodTests {
context.refresh();
ConfigurableListableBeanFactory beanFactory = context.getBeanFactory();
System.out.println(beanFactory.getType(beanName));
LocaleContextHolder.setLocale(locale);
try {