openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p..@apache.org
Subject svn commit: r453799 - /incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/conf/OpenJPAConfigurationImpl.java
Date Fri, 06 Oct 2006 22:52:21 GMT
Author: pcl
Date: Fri Oct  6 15:52:20 2006
New Revision: 453799

URL: http://svn.apache.org/viewvc?view=rev&rev=453799
Log:
minor cleanup of duplicate code

Modified:
    incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/conf/OpenJPAConfigurationImpl.java

Modified: incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/conf/OpenJPAConfigurationImpl.java
URL: http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/conf/OpenJPAConfigurationImpl.java?view=diff&rev=453799&r1=453798&r2=453799
==============================================================================
--- incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/conf/OpenJPAConfigurationImpl.java
(original)
+++ incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/conf/OpenJPAConfigurationImpl.java
Fri Oct  6 15:52:20 2006
@@ -830,8 +830,7 @@
 
     public MetaDataRepository getMetaDataRepositoryInstance() {
         if (metaRepository == null)
-            metaRepository = (MetaDataRepository) metaRepositoryPlugin.
-                instantiate(MetaDataRepository.class, this);
+            metaRepository = newMetaDataRepositoryInstance();
         return metaRepository;
     }
 



Mime
View raw message