mirror of https://github.com/apache/openjpa.git
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:
parent
cbffb40022
commit
f5d06d7330
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue