OLINGO-1400 - remove duplicate call to provider.getEntityContainer() in EdmProviderImpl.createEntityContainer
This commit is contained in:
parent
6c2103ccd4
commit
f4a6baeaee
|
@ -86,9 +86,10 @@ public class EdmProviderImpl extends AbstractEdm {
|
|||
try {
|
||||
CsdlEntityContainerInfo entityContainerInfo = provider.getEntityContainerInfo(containerName);
|
||||
if (entityContainerInfo != null) {
|
||||
addEntityContainerAnnotations(provider.getEntityContainer(), entityContainerInfo.getContainerName());
|
||||
CsdlEntityContainer entityContainer = provider.getEntityContainer();
|
||||
addEntityContainerAnnotations(entityContainer, entityContainerInfo.getContainerName());
|
||||
return new EdmEntityContainerImpl(this, provider, entityContainerInfo.getContainerName(),
|
||||
provider.getEntityContainer());
|
||||
entityContainer);
|
||||
}
|
||||
return null;
|
||||
} catch (ODataException e) {
|
||||
|
|
Loading…
Reference in New Issue