Skip to content

Commit 831443c

Browse files
committed
Updates javadoc for InitializeUserDetailsBeanManagerConfigurer
1 parent 62c7de0 commit 831443c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/src/main/java/org/springframework/security/config/annotation/authentication/configuration/InitializeUserDetailsBeanManagerConfigurer.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2015 the original author or authors.
2+
* Copyright 2002-2019 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.
@@ -82,7 +82,7 @@ public void configure(AuthenticationManagerBuilder auth) throws Exception {
8282
}
8383

8484
/**
85-
* @return
85+
* @return a bean of the requested class if there's just a single registered component, null otherwise.
8686
*/
8787
private <T> T getBeanOrNull(Class<T> type) {
8888
String[] userDetailsBeanNames = InitializeUserDetailsBeanManagerConfigurer.this.context

0 commit comments

Comments
 (0)