Updates javadoc for InitializeUserDetailsBeanManagerConfigurer

This commit is contained in:
Adrian Pena 2019-11-12 22:37:55 -05:00 committed by Eleftheria Stein-Kousathana
parent bc2aedac69
commit ca8877c8c5
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2015 the original author or authors. * Copyright 2002-2019 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -82,7 +82,7 @@ class InitializeUserDetailsBeanManagerConfigurer
} }
/** /**
* @return * @return a bean of the requested class if there's just a single registered component, null otherwise.
*/ */
private <T> T getBeanOrNull(Class<T> type) { private <T> T getBeanOrNull(Class<T> type) {
String[] userDetailsBeanNames = InitializeUserDetailsBeanManagerConfigurer.this.context String[] userDetailsBeanNames = InitializeUserDetailsBeanManagerConfigurer.this.context