Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ public class ConnectionProxyXA extends AbstractConnectionProxyXA implements Hold

private volatile boolean xaActive = false;

private volatile boolean xaEnded = false;

private volatile boolean kept = false;

private volatile boolean rollBacked = false;
Expand Down Expand Up @@ -119,9 +117,9 @@ private void releaseIfNecessary() {
}

private void xaEnd(XAXid xaXid, int flags) throws XAException {
if (!xaEnded) {
if (xaActive) {
xaResource.end(xaXid, flags);
xaEnded = true;
xaActive = false;
}
}

Expand Down Expand Up @@ -302,7 +300,6 @@ private synchronized void end(int flags) throws XAException, SQLException {
}

private void cleanXABranchContext() {
xaEnded = false;
branchRegisterTime = null;
prepareTime = null;
xaActive = false;
Expand Down
Loading