openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ppod...@apache.org
Subject svn commit: r673479 - /openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/conf/TestDynamicConfiguration.java
Date Wed, 02 Jul 2008 20:00:50 GMT
Author: ppoddar
Date: Wed Jul  2 13:00:49 2008
New Revision: 673479

URL: http://svn.apache.org/viewvc?rev=673479&view=rev
Log:
OPENJPA-647: Simple edit for 80-column format rule

Modified:
    openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/conf/TestDynamicConfiguration.java

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/conf/TestDynamicConfiguration.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/conf/TestDynamicConfiguration.java?rev=673479&r1=673478&r2=673479&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/conf/TestDynamicConfiguration.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/conf/TestDynamicConfiguration.java
Wed Jul  2 13:00:49 2008
@@ -113,6 +113,8 @@
 	
 	public void testClassMetaDataRecognizesDataCacheTimeoutValueChange() {
 		OpenJPAConfiguration conf = emf.getConfiguration();
+		
+		// ensure that PObject is in metadata repository
 		EntityManager em = emf.createEntityManager();
 		em.getTransaction().begin();
 		PObject pc = new PObject();
@@ -120,7 +122,8 @@
 		
 		int oldValue = conf.getDataCacheTimeout();
 		
-		ClassMetaData meta = conf.getMetaDataRepositoryInstance().getCachedMetaData(PObject.class);
+		ClassMetaData meta = conf.getMetaDataRepositoryInstance()
+			.getCachedMetaData(PObject.class);
 		assertNotNull(meta);
 		assertEquals(oldValue, meta.getDataCacheTimeout());
 		



Mime
View raw message