From 1201726c3e25f489bd74608d816a3a06861eaf38 Mon Sep 17 00:00:00 2001 From: Patrick Linskey Date: Fri, 6 Oct 2006 22:52:20 +0000 Subject: [PATCH] minor cleanup of duplicate code git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453799 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/openjpa/conf/OpenJPAConfigurationImpl.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/openjpa-kernel/src/main/java/org/apache/openjpa/conf/OpenJPAConfigurationImpl.java b/openjpa-kernel/src/main/java/org/apache/openjpa/conf/OpenJPAConfigurationImpl.java index 3c4eeea86..2db8ce88e 100644 --- a/openjpa-kernel/src/main/java/org/apache/openjpa/conf/OpenJPAConfigurationImpl.java +++ b/openjpa-kernel/src/main/java/org/apache/openjpa/conf/OpenJPAConfigurationImpl.java @@ -830,8 +830,7 @@ public class OpenJPAConfigurationImpl public MetaDataRepository getMetaDataRepositoryInstance() { if (metaRepository == null) - metaRepository = (MetaDataRepository) metaRepositoryPlugin. - instantiate(MetaDataRepository.class, this); + metaRepository = newMetaDataRepositoryInstance(); return metaRepository; }