mirror of https://github.com/apache/openjpa.git
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:
parent
1ad09239b3
commit
50aaa9764a
|
@ -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());
|
||||
|
||||
|
|
Loading…
Reference in New Issue