OPENJPA-2030: Fix line length.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1354597 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Richard G. Curtis 2012-06-27 15:57:18 +00:00
parent cbffb40022
commit f5d06d7330
1 changed files with 4 additions and 6 deletions

View File

@ -138,12 +138,10 @@ public class TestAudit extends TestCase {
*
*/
AuditedEntry findLastAuditedEntry(AuditableOperation op) {
List<AuditedEntry> entry =
em.createQuery("select a from AuditedEntry a where a.operation=:op order by a.id desc", AuditedEntry.class)
.setMaxResults(1)
.setParameter("op", op)
.getResultList();
return entry.get(0);
List<AuditedEntry> entry =
em.createQuery("select a from AuditedEntry a where a.operation=:op order by a.id desc", AuditedEntry.class)
.setMaxResults(1).setParameter("op", op).getResultList();
return entry.get(0);
}