OSDN Git Service

2003-10-11 Michael Koch <konqueror@gmx.de>
authormkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 11 Oct 2003 19:18:24 +0000 (19:18 +0000)
committermkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 11 Oct 2003 19:18:24 +0000 (19:18 +0000)
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72365 138bc75d-0d04-0410-961f-82ee72b054a4

libjava/ChangeLog
libjava/javax/transaction/Status.java
libjava/javax/transaction/Synchronization.java
libjava/javax/transaction/Transaction.java
libjava/javax/transaction/TransactionManager.java
libjava/javax/transaction/UserTransaction.java
libjava/javax/transaction/xa/XAResource.java
libjava/javax/transaction/xa/Xid.java

index 2bd3eff..cd571a3 100644 (file)
@@ -1,5 +1,16 @@
 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/AttributeSet.java,
        javax/print/attribute/PrintRequestAttributeSet.java:
index 7068602..7b3c4ae 100644 (file)
@@ -45,14 +45,14 @@ package javax.transaction;
 
 public interface Status
 {
-  public static final int STATUS_ACTIVE = 0;
-  public static final int STATUS_MARKED_ROLLBACK = 1;
-  public static final int STATUS_PREPARED = 2;
-  public static final int STATUS_COMMITTED = 3;
-  public static final int STATUS_ROLLEDBACK = 4;
-  public static final int STATUS_UNKNOWN = 5;
-  public static final int STATUS_NO_TRANSACTION = 6;
-  public static final int STATUS_PREPARING = 7;
-  public static final int STATUS_COMMITTING = 8;
-  public static final int STATUS_ROLLING_BACK = 9;
+  int STATUS_ACTIVE = 0;
+  int STATUS_MARKED_ROLLBACK = 1;
+  int STATUS_PREPARED = 2;
+  int STATUS_COMMITTED = 3;
+  int STATUS_ROLLEDBACK = 4;
+  int STATUS_UNKNOWN = 5;
+  int STATUS_NO_TRANSACTION = 6;
+  int STATUS_PREPARING = 7;
+  int STATUS_COMMITTING = 8;
+  int STATUS_ROLLING_BACK = 9;
 }
index 7a1dfa5..e8d8eb9 100644 (file)
@@ -45,6 +45,6 @@ package javax.transaction;
 
 public interface Synchronization
 {
-  public void beforeCompletion();
-  public void afterCompletion(int status);
+  void beforeCompletion();
+  void afterCompletion(int status);
 }
index 11aca01..55303b7 100644 (file)
@@ -47,24 +47,24 @@ import javax.transaction.xa.XAResource;
 
 public interface Transaction
 {
-  public void commit()
+  void commit()
     throws RollbackException, HeuristicMixedException,
       HeuristicRollbackException, SecurityException, SystemException;
 
-  public boolean delistResource(XAResource xaRes, int flag)
+  boolean delistResource(XAResource xaRes, int flag)
     throws IllegalStateException, SystemException;
 
-  public boolean enlistResource(XAResource xaRes)
+  boolean enlistResource(XAResource xaRes)
     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;
 
-  public void rollback()
+  void rollback()
     throws IllegalStateException, SystemException;
 
-  public void setRollbackOnly()
+  void setRollbackOnly()
     throws IllegalStateException, SystemException;
 }
index e0501af..0a79bd3 100644 (file)
@@ -45,28 +45,28 @@ package javax.transaction;
 
 public interface TransactionManager
 {
-  public void begin() throws NotSupportedException, SystemException;
+  void begin() throws NotSupportedException, SystemException;
 
-  public void commit()
+  void commit()
     throws RollbackException, HeuristicMixedException,
       HeuristicRollbackException, SecurityException,
       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,
       SystemException;
 
-  public void rollback()
+  void rollback()
     throws IllegalStateException, SecurityException, SystemException;
 
-  public void setRollbackOnly()
+  void setRollbackOnly()
     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;
 }
index fe8aad7..1327a0c 100644 (file)
@@ -45,20 +45,20 @@ package javax.transaction;
 
 public interface UserTransaction
 {
-  public void begin() throws NotSupportedException, SystemException;
+  void begin() throws NotSupportedException, SystemException;
 
-  public void commit()
+  void commit()
     throws RollbackException, HeuristicMixedException,
       HeuristicRollbackException, SecurityException,
       IllegalStateException, SystemException;
 
-  public void rollback()
+  void rollback()
     throws IllegalStateException, SecurityException, SystemException;
 
-  public void setRollbackOnly()
+  void setRollbackOnly()
     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;
 }
index 038923f..6fd0717 100644 (file)
@@ -44,26 +44,26 @@ package javax.transaction.xa;
 
 public interface XAResource
 {
-  public static final int TMENDRSCAN = 8388608;
-  public static final int TMFAIL = 536870912;
-  public static final int TMJOIN = 2097152;
-  public static final int TMNOFLAGS = 0;
-  public static final int TMONEPHASE = 1073741824;
-  public static final int TMRESUME = 134217728;
-  public static final int TMSTARTRSCAN = 16777216;
-  public static final int TMSUCCESS = 67108864;
-  public static final int TMSUSPEND = 33554432;
-  public static final int XA_RDONLY = 3;
-  public static final int XA_OK = 0;
+  int TMENDRSCAN = 8388608;
+  int TMFAIL = 536870912;
+  int TMJOIN = 2097152;
+  int TMNOFLAGS = 0;
+  int TMONEPHASE = 1073741824;
+  int TMRESUME = 134217728;
+  int TMSTARTRSCAN = 16777216;
+  int TMSUCCESS = 67108864;
+  int TMSUSPEND = 33554432;
+  int XA_RDONLY = 3;
+  int XA_OK = 0;
 
-  public void commit(Xid xid, boolean onePhase) throws XAException;
-  public void end(Xid xid, int flags) throws XAException;
-  public void forget(Xid xid) throws XAException;
-  public int getTransactionTimeout() throws XAException;
-  public boolean isSameRM(XAResource xares) throws XAException;
-  public int prepare(Xid xid) throws XAException;
-  public Xid[] recover(int flag) throws XAException;
-  public void rollback(Xid xid) throws XAException;
-  public boolean setTransactionTimeout(int seconds) throws XAException;
-  public void start(Xid xid, int flags) throws XAException;
+  void commit(Xid xid, boolean onePhase) throws XAException;
+  void end(Xid xid, int flags) throws XAException;
+  void forget(Xid xid) throws XAException;
+  int getTransactionTimeout() throws XAException;
+  boolean isSameRM(XAResource xares) throws XAException;
+  int prepare(Xid xid) throws XAException;
+  Xid[] recover(int flag) throws XAException;
+  void rollback(Xid xid) throws XAException;
+  boolean setTransactionTimeout(int seconds) throws XAException;
+  void start(Xid xid, int flags) throws XAException;
 }
index d509ccf..c91843d 100644 (file)
@@ -44,10 +44,10 @@ package javax.transaction.xa;
 
 public interface Xid
 {
-  public static final int MAXGTRIDSIZE = 64;
-  public static final int MAXBQUALSIZE = 64;
+  int MAXGTRIDSIZE = 64;
+  int MAXBQUALSIZE = 64;
 
-  public int getFormatId();
-  public byte[] getGlobalTransactionId();
-  public byte[] getBranchQualifier();
+  int getFormatId();
+  byte[] getGlobalTransactionId();
+  byte[] getBranchQualifier();
 }