diff --git a/org.springframework.beans/src/main/java/org/springframework/beans/factory/config/DestructionAwareAttributeMap.java b/org.springframework.beans/src/main/java/org/springframework/beans/factory/config/DestructionAwareAttributeMap.java index 110d2951e5d1089f9b166e3a5617fded4c925254..6b584733aa9cded6fb23958204cd190105758e73 100644 --- a/org.springframework.beans/src/main/java/org/springframework/beans/factory/config/DestructionAwareAttributeMap.java +++ b/org.springframework.beans/src/main/java/org/springframework/beans/factory/config/DestructionAwareAttributeMap.java @@ -164,9 +164,9 @@ public class DestructionAwareAttributeMap implements Serializable { * Note that 'destruction' refers to to automatic destruction of the object * as part of the scope's own lifecycle, not to the individual scoped object * having been explicitly removed by the application. If a scoped object - * gets removed via this facade's {@link #remove(String)} method, any - * registered destruction callback should be removed as well, assuming that - * the removed object will be reused or manually destroyed. + * gets removed via this facade's {@link #removeAttribute(String)} method, + * any registered destruction callback should be removed as well, assuming + * that the removed object will be reused or manually destroyed. * * @param name * the name of the object to execute the destruction callback for