mirror of https://github.com/apache/openjpa.git
Checkstyle problems
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1162349 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
18fed4dd53
commit
905500dd19
|
@ -287,7 +287,7 @@ public class AuditManager extends InMemorySavepointManager
|
|||
OpenJPASavepoint savepoint = newSavepoint("", broker);
|
||||
savepoint.save(Collections.singleton(sm));
|
||||
Map<StateManagerImpl, SavepointFieldManager> states = savepoint.getStates();
|
||||
Map.Entry<StateManagerImpl, SavepointFieldManager> e = states.entrySet().iterator().next();
|
||||
Map.Entry<StateManagerImpl, SavepointFieldManager> e = states.entrySet().iterator().next();
|
||||
PersistenceCapable copy = e.getValue().getCopy();
|
||||
copy.pcReplaceStateManager(null);
|
||||
_audits.put(sm, copy);
|
||||
|
|
Loading…
Reference in New Issue