File tree Expand file tree Collapse 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 Expand file tree Collapse file tree 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 {
6363 */
6464 private static final Map <String , String > transformedBeanNameCache = new ConcurrentHashMap <>();
6565
66+
6667 /**
6768 * Used to dereference a {@link FactoryBean} instance and distinguish it from
6869 * beans <i>created</i> by the FactoryBean. For example, if the bean named
@@ -79,7 +80,7 @@ public abstract class BeanFactoryUtils {
7980 * @see BeanFactory#FACTORY_BEAN_PREFIX
8081 */
8182 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 );
8384 }
8485
8586 /**
Original file line number Diff line number Diff line change 11/*
2- * Copyright 2002-2024 the original author or authors.
2+ * Copyright 2002-2025 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.
Original file line number Diff line number Diff line change 11/*
2- * Copyright 2002-2024 the original author or authors.
2+ * Copyright 2002-2025 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.
You can’t perform that action at this time.
0 commit comments