Commit 9d82a4b3 by Michael Koch Committed by Michael Koch

Status.java, [...]: Removing redundant modifiers.

2003-10-11  Michael Koch  <konqueror@gmx.de>

	* javax/transaction/Status.java,
	javax/transaction/Synchronization.java,
	javax/transaction/Transaction.java,
	javax/transaction/TransactionManager.java,
	javax/transaction/UserTransaction.java,
	javax/transaction/xa/XAResource.java,
	javax/transaction/xa/Xid.java:
	Removing redundant modifiers.

From-SVN: r72365
parent 89889f24
2003-10-11 Michael Koch <konqueror@gmx.de> 2003-10-11 Michael Koch <konqueror@gmx.de>
* javax/transaction/Status.java,
javax/transaction/Synchronization.java,
javax/transaction/Transaction.java,
javax/transaction/TransactionManager.java,
javax/transaction/UserTransaction.java,
javax/transaction/xa/XAResource.java,
javax/transaction/xa/Xid.java:
Removing redundant modifiers.
2003-10-11 Michael Koch <konqueror@gmx.de>
* javax/print/attribute/Attribute.java, * javax/print/attribute/Attribute.java,
javax/print/attribute/AttributeSet.java, javax/print/attribute/AttributeSet.java,
javax/print/attribute/PrintRequestAttributeSet.java: javax/print/attribute/PrintRequestAttributeSet.java:
......
...@@ -45,14 +45,14 @@ package javax.transaction; ...@@ -45,14 +45,14 @@ package javax.transaction;
public interface Status public interface Status
{ {
public static final int STATUS_ACTIVE = 0; int STATUS_ACTIVE = 0;
public static final int STATUS_MARKED_ROLLBACK = 1; int STATUS_MARKED_ROLLBACK = 1;
public static final int STATUS_PREPARED = 2; int STATUS_PREPARED = 2;
public static final int STATUS_COMMITTED = 3; int STATUS_COMMITTED = 3;
public static final int STATUS_ROLLEDBACK = 4; int STATUS_ROLLEDBACK = 4;
public static final int STATUS_UNKNOWN = 5; int STATUS_UNKNOWN = 5;
public static final int STATUS_NO_TRANSACTION = 6; int STATUS_NO_TRANSACTION = 6;
public static final int STATUS_PREPARING = 7; int STATUS_PREPARING = 7;
public static final int STATUS_COMMITTING = 8; int STATUS_COMMITTING = 8;
public static final int STATUS_ROLLING_BACK = 9; int STATUS_ROLLING_BACK = 9;
} }
...@@ -45,6 +45,6 @@ package javax.transaction; ...@@ -45,6 +45,6 @@ package javax.transaction;
public interface Synchronization public interface Synchronization
{ {
public void beforeCompletion(); void beforeCompletion();
public void afterCompletion(int status); void afterCompletion(int status);
} }
...@@ -47,24 +47,24 @@ import javax.transaction.xa.XAResource; ...@@ -47,24 +47,24 @@ import javax.transaction.xa.XAResource;
public interface Transaction public interface Transaction
{ {
public void commit() void commit()
throws RollbackException, HeuristicMixedException, throws RollbackException, HeuristicMixedException,
HeuristicRollbackException, SecurityException, SystemException; HeuristicRollbackException, SecurityException, SystemException;
public boolean delistResource(XAResource xaRes, int flag) boolean delistResource(XAResource xaRes, int flag)
throws IllegalStateException, SystemException; throws IllegalStateException, SystemException;
public boolean enlistResource(XAResource xaRes) boolean enlistResource(XAResource xaRes)
throws RollbackException, IllegalStateException, SystemException; throws RollbackException, IllegalStateException, SystemException;
public int getStatus() throws SystemException; int getStatus() throws SystemException;
public void registerSynchronization(Synchronization sync) void registerSynchronization(Synchronization sync)
throws RollbackException, IllegalStateException, SystemException; throws RollbackException, IllegalStateException, SystemException;
public void rollback() void rollback()
throws IllegalStateException, SystemException; throws IllegalStateException, SystemException;
public void setRollbackOnly() void setRollbackOnly()
throws IllegalStateException, SystemException; throws IllegalStateException, SystemException;
} }
...@@ -45,28 +45,28 @@ package javax.transaction; ...@@ -45,28 +45,28 @@ package javax.transaction;
public interface TransactionManager public interface TransactionManager
{ {
public void begin() throws NotSupportedException, SystemException; void begin() throws NotSupportedException, SystemException;
public void commit() void commit()
throws RollbackException, HeuristicMixedException, throws RollbackException, HeuristicMixedException,
HeuristicRollbackException, SecurityException, HeuristicRollbackException, SecurityException,
IllegalStateException, SystemException; IllegalStateException, SystemException;
public int getStatus() throws SystemException; int getStatus() throws SystemException;
public Transaction getTransaction() throws SystemException; Transaction getTransaction() throws SystemException;
public void resume(Transaction tobj) void resume(Transaction tobj)
throws InvalidTransactionException, IllegalStateException, throws InvalidTransactionException, IllegalStateException,
SystemException; SystemException;
public void rollback() void rollback()
throws IllegalStateException, SecurityException, SystemException; throws IllegalStateException, SecurityException, SystemException;
public void setRollbackOnly() void setRollbackOnly()
throws IllegalStateException, SystemException; throws IllegalStateException, SystemException;
public void setTransactionTimeout(int seconds) throws SystemException; void setTransactionTimeout(int seconds) throws SystemException;
public Transaction suspend() throws SystemException; Transaction suspend() throws SystemException;
} }
...@@ -45,20 +45,20 @@ package javax.transaction; ...@@ -45,20 +45,20 @@ package javax.transaction;
public interface UserTransaction public interface UserTransaction
{ {
public void begin() throws NotSupportedException, SystemException; void begin() throws NotSupportedException, SystemException;
public void commit() void commit()
throws RollbackException, HeuristicMixedException, throws RollbackException, HeuristicMixedException,
HeuristicRollbackException, SecurityException, HeuristicRollbackException, SecurityException,
IllegalStateException, SystemException; IllegalStateException, SystemException;
public void rollback() void rollback()
throws IllegalStateException, SecurityException, SystemException; throws IllegalStateException, SecurityException, SystemException;
public void setRollbackOnly() void setRollbackOnly()
throws IllegalStateException, SystemException; throws IllegalStateException, SystemException;
public int getStatus() throws SystemException; int getStatus() throws SystemException;
public void setTransactionTimeout(int seconds) throws SystemException; void setTransactionTimeout(int seconds) throws SystemException;
} }
...@@ -44,26 +44,26 @@ package javax.transaction.xa; ...@@ -44,26 +44,26 @@ package javax.transaction.xa;
public interface XAResource public interface XAResource
{ {
public static final int TMENDRSCAN = 8388608; int TMENDRSCAN = 8388608;
public static final int TMFAIL = 536870912; int TMFAIL = 536870912;
public static final int TMJOIN = 2097152; int TMJOIN = 2097152;
public static final int TMNOFLAGS = 0; int TMNOFLAGS = 0;
public static final int TMONEPHASE = 1073741824; int TMONEPHASE = 1073741824;
public static final int TMRESUME = 134217728; int TMRESUME = 134217728;
public static final int TMSTARTRSCAN = 16777216; int TMSTARTRSCAN = 16777216;
public static final int TMSUCCESS = 67108864; int TMSUCCESS = 67108864;
public static final int TMSUSPEND = 33554432; int TMSUSPEND = 33554432;
public static final int XA_RDONLY = 3; int XA_RDONLY = 3;
public static final int XA_OK = 0; int XA_OK = 0;
public void commit(Xid xid, boolean onePhase) throws XAException; void commit(Xid xid, boolean onePhase) throws XAException;
public void end(Xid xid, int flags) throws XAException; void end(Xid xid, int flags) throws XAException;
public void forget(Xid xid) throws XAException; void forget(Xid xid) throws XAException;
public int getTransactionTimeout() throws XAException; int getTransactionTimeout() throws XAException;
public boolean isSameRM(XAResource xares) throws XAException; boolean isSameRM(XAResource xares) throws XAException;
public int prepare(Xid xid) throws XAException; int prepare(Xid xid) throws XAException;
public Xid[] recover(int flag) throws XAException; Xid[] recover(int flag) throws XAException;
public void rollback(Xid xid) throws XAException; void rollback(Xid xid) throws XAException;
public boolean setTransactionTimeout(int seconds) throws XAException; boolean setTransactionTimeout(int seconds) throws XAException;
public void start(Xid xid, int flags) throws XAException; void start(Xid xid, int flags) throws XAException;
} }
...@@ -44,10 +44,10 @@ package javax.transaction.xa; ...@@ -44,10 +44,10 @@ package javax.transaction.xa;
public interface Xid public interface Xid
{ {
public static final int MAXGTRIDSIZE = 64; int MAXGTRIDSIZE = 64;
public static final int MAXBQUALSIZE = 64; int MAXBQUALSIZE = 64;
public int getFormatId(); int getFormatId();
public byte[] getGlobalTransactionId(); byte[] getGlobalTransactionId();
public byte[] getBranchQualifier(); byte[] getBranchQualifier();
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment