You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2020/11/08 16:27:13 UTC
[shardingsphere] branch master updated: polish parameter name in
SingleXAResource (#8078)
This is an automated email from the ASF dual-hosted git repository.
zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new c2a99a5 polish parameter name in SingleXAResource (#8078)
c2a99a5 is described below
commit c2a99a5da57d062cb89ac02bc87497595ad49503
Author: kimmking <ki...@163.com>
AuthorDate: Mon Nov 9 00:26:46 2020 +0800
polish parameter name in SingleXAResource (#8078)
---
.../transaction/xa/spi/SingleXAResource.java | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-spi/src/main/java/org/apache/shardingsphere/transaction/xa/spi/SingleXAResource.java b/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-spi/src/main/java/org/apache/shardingsphere/transaction/xa/spi/SingleXAResource.java
index 1015126..e026afa 100644
--- a/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-spi/src/main/java/org/apache/shardingsphere/transaction/xa/spi/SingleXAResource.java
+++ b/shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-spi/src/main/java/org/apache/shardingsphere/transaction/xa/spi/SingleXAResource.java
@@ -36,13 +36,13 @@ public final class SingleXAResource implements XAResource {
private final XAResource delegate;
@Override
- public void commit(final Xid xid, final boolean b) throws XAException {
- delegate.commit(xid, b);
+ public void commit(final Xid xid, final boolean onePhase) throws XAException {
+ delegate.commit(xid, onePhase);
}
@Override
- public void end(final Xid xid, final int i) throws XAException {
- delegate.end(xid, i);
+ public void end(final Xid xid, final int flags) throws XAException {
+ delegate.end(xid, flags);
}
@Override
@@ -67,8 +67,8 @@ public final class SingleXAResource implements XAResource {
}
@Override
- public Xid[] recover(final int i) throws XAException {
- return delegate.recover(i);
+ public Xid[] recover(final int flags) throws XAException {
+ return delegate.recover(flags);
}
@Override
@@ -77,12 +77,12 @@ public final class SingleXAResource implements XAResource {
}
@Override
- public boolean setTransactionTimeout(final int i) throws XAException {
- return delegate.setTransactionTimeout(i);
+ public boolean setTransactionTimeout(final int timeout) throws XAException {
+ return delegate.setTransactionTimeout(timeout);
}
@Override
- public void start(final Xid xid, final int i) throws XAException {
- delegate.start(xid, i);
+ public void start(final Xid xid, final int flags) throws XAException {
+ delegate.start(xid, flags);
}
}