minor cleanup of duplicate code

git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453799 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Patrick Linskey 2006-10-06 22:52:20 +00:00
parent 433475f6ad
commit 1201726c3e
1 changed files with 1 additions and 2 deletions

View File

@ -830,8 +830,7 @@ public class OpenJPAConfigurationImpl
public MetaDataRepository getMetaDataRepositoryInstance() {
if (metaRepository == null)
metaRepository = (MetaDataRepository) metaRepositoryPlugin.
instantiate(MetaDataRepository.class, this);
metaRepository = newMetaDataRepositoryInstance();
return metaRepository;
}