Polish: Overriding methods should do more than simply call the same method in the super class
This commit is contained in:
committed by
Juergen Hoeller
parent
cd4f0935c5
commit
ed936cbd89
@@ -156,11 +156,6 @@ public class GenericApplicationContext extends AbstractApplicationContext implem
|
||||
this.beanFactory.setParentBeanFactory(getInternalParentBeanFactory());
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setId(String id) {
|
||||
super.setId(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set whether it should be allowed to override bean definitions by registering
|
||||
* a different definition with the same name, automatically replacing the former.
|
||||
|
||||
Reference in New Issue
Block a user