File tree 3 files changed +4
-3
lines changed
spring-beans/src/main/java/org/springframework/beans/factory
spring-core/src/main/java/org/springframework
3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ public abstract class BeanFactoryUtils {
63
63
*/
64
64
private static final Map <String , String > transformedBeanNameCache = new ConcurrentHashMap <>();
65
65
66
+
66
67
/**
67
68
* Used to dereference a {@link FactoryBean} instance and distinguish it from
68
69
* beans <i>created</i> by the FactoryBean. For example, if the bean named
@@ -79,7 +80,7 @@ public abstract class BeanFactoryUtils {
79
80
* @see BeanFactory#FACTORY_BEAN_PREFIX
80
81
*/
81
82
public static boolean isFactoryDereference (@ Nullable String name ) {
82
- return (name != null && !name .isEmpty () && name .charAt (0 ) == FACTORY_BEAN_PREFIX );
83
+ return (name != null && !name .isEmpty () && name .charAt (0 ) == BeanFactory . FACTORY_BEAN_PREFIX_CHAR );
83
84
}
84
85
85
86
/**
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2024 the original author or authors.
2
+ * Copyright 2002-2025 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2024 the original author or authors.
2
+ * Copyright 2002-2025 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
You can’t perform that action at this time.
0 commit comments