We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 185537d commit c245e20Copy full SHA for c245e20
spring-beans/src/main/java/org/springframework/beans/factory/config/FieldRetrievingFactoryBean.java
@@ -158,7 +158,7 @@ public void setBeanClassLoader(ClassLoader classLoader) {
158
159
160
@Override
161
- @SuppressWarnings("NullAway")
+ @SuppressWarnings("NullAway") // Lazy initialization
162
public void afterPropertiesSet() throws ClassNotFoundException, NoSuchFieldException {
163
if (this.targetClass != null && this.targetObject != null) {
164
throw new IllegalArgumentException("Specify either targetClass or targetObject, not both");
0 commit comments