Remove redundant synchronized (#11811)
This commit is contained in:
parent
03562680ee
commit
e6ee6088bf
|
|
@ -228,11 +228,7 @@ public class ReferenceConfig<T> extends ReferenceConfigBase<T> {
|
|||
// ensure start module, compatible with old api usage
|
||||
getScopeModel().getDeployer().start();
|
||||
|
||||
synchronized (this) {
|
||||
if (ref == null) {
|
||||
init();
|
||||
}
|
||||
}
|
||||
init();
|
||||
}
|
||||
|
||||
return ref;
|
||||
|
|
|
|||
Loading…
Reference in New Issue