OPENJPA-647: Simple edit for 80-column format rule

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@673479 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Pinaki Poddar 2008-07-02 20:00:49 +00:00
parent 1ad09239b3
commit 50aaa9764a
1 changed files with 4 additions and 1 deletions

View File

@ -113,6 +113,8 @@ public class TestDynamicConfiguration extends SingleEMFTestCase {
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 @@ public class TestDynamicConfiguration extends SingleEMFTestCase {
int oldValue = conf.getDataCacheTimeout();
ClassMetaData meta = conf.getMetaDataRepositoryInstance().getCachedMetaData(PObject.class);
ClassMetaData meta = conf.getMetaDataRepositoryInstance()
.getCachedMetaData(PObject.class);
assertNotNull(meta);
assertEquals(oldValue, meta.getDataCacheTimeout());