Delete unnecessary variable assignment

Closes gh-23955
This commit is contained in:
Qimiao Chen
2019-11-08 13:39:02 +01:00
committed by Sam Brannen
parent a6dd63f9ca
commit 9b8da04e64
@@ -1317,7 +1317,6 @@ public abstract class AbstractBeanFactory extends FactoryBeanRegistrySupport imp
if (mbd == null || mbd.stale) {
previous = mbd;
mbd = null;
if (bd.getParentName() == null) {
// Use copy of given root bean definition.
if (bd instanceof RootBeanDefinition) {