This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

FYI: Patch: Removing redundant modifiers (Part 17)


Hi list,


MODIFIERS.



Michael
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/libjava/ChangeLog,v
retrieving revision 1.2252
diff -u -b -B -r1.2252 ChangeLog
--- ChangeLog	11 Oct 2003 19:06:20 -0000	1.2252
+++ ChangeLog	11 Oct 2003 19:09:38 -0000
@@ -1,5 +1,21 @@
 2003-10-11  Michael Koch  <konqueror@gmx.de>
 
+	* javax/sql/ConnectionEventListener.java,
+	javax/sql/ConnectionPoolDataSource.java,
+	javax/sql/DataSource.java,
+	javax/sql/PooledConnection.java,
+	javax/sql/RowSet.java,
+	javax/sql/RowSetInternal.java,
+	javax/sql/RowSetListener.java,
+	javax/sql/RowSetMetaData.java,
+	javax/sql/RowSetReader.java,
+	javax/sql/RowSetWriter.java,
+	javax/sql/XAConnection.java,
+	javax/sql/XADataSource.java:
+	Removing redundant modifiers.
+
+2003-10-11  Michael Koch  <konqueror@gmx.de>
+
 	* javax/naming/Context.java,
 	javax/naming/Name.java,
 	javax/naming/NameParser.java,
Index: javax/sql/ConnectionEventListener.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/sql/ConnectionEventListener.java,v
retrieving revision 1.1
diff -u -b -B -r1.1 ConnectionEventListener.java
--- javax/sql/ConnectionEventListener.java	21 Jun 2002 05:39:26 -0000	1.1
+++ javax/sql/ConnectionEventListener.java	11 Oct 2003 19:09:38 -0000
@@ -48,10 +48,10 @@
   /**
    * @since 1.4
    */
-  public void connectionClosed(ConnectionEvent event);
+  void connectionClosed(ConnectionEvent event);
 
   /**
    * @since 1.4
    */
-  public void connectionErrorOccurred(ConnectionEvent event);
+  void connectionErrorOccurred(ConnectionEvent event);
 }
Index: javax/sql/ConnectionPoolDataSource.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/sql/ConnectionPoolDataSource.java,v
retrieving revision 1.1
diff -u -b -B -r1.1 ConnectionPoolDataSource.java
--- javax/sql/ConnectionPoolDataSource.java	21 Jun 2002 05:39:27 -0000	1.1
+++ javax/sql/ConnectionPoolDataSource.java	11 Oct 2003 19:09:38 -0000
@@ -49,31 +49,31 @@
   /**
    * @since 1.4
    */
-  public PooledConnection getPooledConnection() throws SQLException;
+  PooledConnection getPooledConnection() throws SQLException;
 
   /**
    * @since 1.4
    */
-  public PooledConnection getPooledConnection(String user, String password)
+  PooledConnection getPooledConnection(String user, String password)
     throws SQLException;
 
   /**
    * @since 1.4
    */
-  public PrintWriter getLogWriter() throws SQLException;
+  PrintWriter getLogWriter() throws SQLException;
 
   /**
    * @since 1.4
    */
-  public void setLogWriter(PrintWriter out) throws SQLException;
+  void setLogWriter(PrintWriter out) throws SQLException;
 
   /**
    * @since 1.4
    */
-  public void setLoginTimeout(int seconds) throws SQLException;
+  void setLoginTimeout(int seconds) throws SQLException;
 
   /**
    * @since 1.4
    */
-  public int getLoginTimeout() throws SQLException;
+  int getLoginTimeout() throws SQLException;
 }
Index: javax/sql/DataSource.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/sql/DataSource.java,v
retrieving revision 1.1
diff -u -b -B -r1.1 DataSource.java
--- javax/sql/DataSource.java	21 Jun 2002 05:39:27 -0000	1.1
+++ javax/sql/DataSource.java	11 Oct 2003 19:09:38 -0000
@@ -50,31 +50,31 @@
   /**
    * @since 1.4
    */
-  public Connection getConnection() throws SQLException;
+  Connection getConnection() throws SQLException;
 
   /**
    * @since 1.4
    */
-  public Connection getConnection(String username, String password)
+  Connection getConnection(String username, String password)
     throws SQLException;
 
   /**
    * @since 1.4
    */
-  public PrintWriter getLogWriter() throws SQLException;
+  PrintWriter getLogWriter() throws SQLException;
 
   /**
    * @since 1.4
    */
-  public void setLogWriter(PrintWriter out) throws SQLException;
+  void setLogWriter(PrintWriter out) throws SQLException;
 
   /**
    * @since 1.4
    */
-  public void setLoginTimeout(int seconds) throws SQLException;
+  void setLoginTimeout(int seconds) throws SQLException;
 
   /**
    * @since 1.4
    */
-  public int getLoginTimeout() throws SQLException;
+  int getLoginTimeout() throws SQLException;
 }
Index: javax/sql/PooledConnection.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/sql/PooledConnection.java,v
retrieving revision 1.1
diff -u -b -B -r1.1 PooledConnection.java
--- javax/sql/PooledConnection.java	21 Jun 2002 05:39:27 -0000	1.1
+++ javax/sql/PooledConnection.java	11 Oct 2003 19:09:38 -0000
@@ -49,20 +49,20 @@
   /**
    * @since 1.4
    */
-  public Connection getConnection() throws SQLException;
+  Connection getConnection() throws SQLException;
 
   /**
    * @since 1.4
    */
-  public void close() throws SQLException;
+  void close() throws SQLException;
 
   /**
    * @since 1.4
    */
-  public void addConnectionEventListener(ConnectionEventListener listener);
+  void addConnectionEventListener(ConnectionEventListener listener);
 
   /**
    * @since 1.4
    */
-  public void removeConnectionEventListener(ConnectionEventListener listener);
+  void removeConnectionEventListener(ConnectionEventListener listener);
 }
Index: javax/sql/RowSet.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/sql/RowSet.java,v
retrieving revision 1.1
diff -u -b -B -r1.1 RowSet.java
--- javax/sql/RowSet.java	21 Jun 2002 05:39:27 -0000	1.1
+++ javax/sql/RowSet.java	11 Oct 2003 19:09:38 -0000
@@ -58,304 +58,130 @@
  */
 public interface RowSet extends ResultSet 
 {
-  /**
-   * @since 1.4
-   */
-  public String getUrl() throws SQLException;
-
-  /**
-   * @since 1.4
-   */
-  public void setUrl(String url) throws SQLException;
-
-  /**
-   * @since 1.4
-   */
-  public String getDataSourceName();
-
-  /**
-   * @since 1.4
-   */
-  public void setDataSourceName(String name) throws SQLException;
-
-  /**
-   * @since 1.4
-   */
-  public String getUsername();
-
-  /**
-   * @since 1.4
-   */
-  public void setUsername(String name) throws SQLException;
-
-  /**
-   * @since 1.4
-   */
-  public String getPassword();
-
-  /**
-   * @since 1.4
-   */
-  public void setPassword(String password) throws SQLException;
-
-  /**
-   * @since 1.4
-   */
-  public int getTransactionIsolation();
-
-  /**
-   * @since 1.4
-   */
-  public void setTransactionIsolation(int level) throws SQLException;
-
-  /**
-   * @since 1.4
-   */
-  public Map getTypeMap() throws SQLException;
-
-  /**
-   * @since 1.4
-   */
-  public void setTypeMap(Map map) throws SQLException;
-
-  /**
-   * @since 1.4
-   */
-  public String getCommand();
-
-  /**
-   * @since 1.4
-   */
-  public void setCommand(String cmd) throws SQLException;
-
-  /**
-   * @since 1.4
-   */
-  public boolean isReadOnly();
-
-  /**
-   * @since 1.4
-   */
-  public void setReadOnly(boolean value) throws SQLException;
-
-  /**
-   * @since 1.4
-   */
-  public int getMaxFieldSize() throws SQLException;
-
-  /**
-   * @since 1.4
-   */
-  public void setMaxFieldSize(int max) throws SQLException;
-
-  /**
-   * @since 1.4
-   */
-  public int getMaxRows() throws SQLException;
-
-  /**
-   * @since 1.4
-   */
-  public void setMaxRows(int max) throws SQLException;
-
-  /**
-   * @since 1.4
-   */
-  public boolean getEscapeProcessing() throws SQLException;
-
-  /**
-   * @since 1.4
-   */
-  public void setEscapeProcessing(boolean enable) throws SQLException;
-
-  /**
-   * @since 1.4
-   */
-  public int getQueryTimeout() throws SQLException;
-
-  /**
-   * @since 1.4
-   */
-  public void setQueryTimeout(int seconds) throws SQLException;
-
-  /**
-   * @since 1.4
-   */
-  public void setType(int type) throws SQLException;
-
-  /**
-   * @since 1.4
-   */
-  public void setConcurrency(int concurrency) throws SQLException;
-
-  /**
-   * @since 1.4
-   */
-  public void setNull(int parameterIndex, int sqlType) throws SQLException;
-
-  /**
-   * @since 1.4
-   */
-  public void setNull(int paramIndex, int sqlType, String typeName) throws
+  String getUrl() throws SQLException;
+
+  void setUrl(String url) throws SQLException;
+
+  String getDataSourceName();
+
+  void setDataSourceName(String name) throws SQLException;
+
+  String getUsername();
+
+  void setUsername(String name) throws SQLException;
+
+  String getPassword();
+
+  void setPassword(String password) throws SQLException;
+
+  int getTransactionIsolation();
+
+  void setTransactionIsolation(int level) throws SQLException;
+
+  Map getTypeMap() throws SQLException;
+
+  void setTypeMap(Map map) throws SQLException;
+
+  String getCommand();
+
+  void setCommand(String cmd) throws SQLException;
+
+  boolean isReadOnly();
+
+  void setReadOnly(boolean value) throws SQLException;
+
+  int getMaxFieldSize() throws SQLException;
+
+  void setMaxFieldSize(int max) throws SQLException;
+
+  int getMaxRows() throws SQLException;
+
+  void setMaxRows(int max) throws SQLException;
+
+  boolean getEscapeProcessing() throws SQLException;
+
+  void setEscapeProcessing(boolean enable) throws SQLException;
+
+  int getQueryTimeout() throws SQLException;
+
+  void setQueryTimeout(int seconds) throws SQLException;
+
+  void setType(int type) throws SQLException;
+
+  void setConcurrency(int concurrency) throws SQLException;
+
+  void setNull(int parameterIndex, int sqlType) throws SQLException;
+
+  void setNull(int paramIndex, int sqlType, String typeName) throws
       SQLException;
 
-  /**
-   * @since 1.4
-   */
-  public void setBoolean(int parameterIndex, boolean x) throws SQLException;
-
-  /**
-   * @since 1.4
-   */
-  public void setByte(int parameterIndex, byte x) throws SQLException;
-
-  /**
-   * @since 1.4
-   */
-  public void setShort(int parameterIndex, short x) throws SQLException;
-
-  /**
-   * @since 1.4
-   */
-  public void setInt(int parameterIndex, int x) throws SQLException;
-
-  /**
-   * @since 1.4
-   */
-  public void setLong(int parameterIndex, long x) throws SQLException;
-
-  /**
-   * @since 1.4
-   */
-  public void setFloat(int parameterIndex, float x) throws SQLException;
-
-  /**
-   * @since 1.4
-   */
-  public void setDouble(int parameterIndex, double x) throws SQLException;
-
-  /**
-   * @since 1.4
-   */
-  public void setBigDecimal(int parameterIndex, BigDecimal x) throws
+  void setBoolean(int parameterIndex, boolean x) throws SQLException;
+
+  void setByte(int parameterIndex, byte x) throws SQLException;
+
+  void setShort(int parameterIndex, short x) throws SQLException;
+
+  void setInt(int parameterIndex, int x) throws SQLException;
+
+  void setLong(int parameterIndex, long x) throws SQLException;
+
+  void setFloat(int parameterIndex, float x) throws SQLException;
+
+  void setDouble(int parameterIndex, double x) throws SQLException;
+
+  void setBigDecimal(int parameterIndex, BigDecimal x) throws
       SQLException;
 
-  /**
-   * @since 1.4
-   */
-  public void setString(int parameterIndex, String x) throws SQLException;
-
-  /**
-   * @since 1.4
-   */
-  public void setBytes(int parameterIndex, byte[] x) throws SQLException;
-
-  /**
-   * @since 1.4
-   */
-  public void setDate(int parameterIndex, Date x) throws SQLException;
-
-  /**
-   * @since 1.4
-   */
-  public void setTime(int parameterIndex, Time x) throws SQLException;
-
-  /**
-   * @since 1.4
-   */
-  public void setTimestamp(int parameterIndex, Timestamp x) throws
+  void setString(int parameterIndex, String x) throws SQLException;
+
+  void setBytes(int parameterIndex, byte[] x) throws SQLException;
+
+  void setDate(int parameterIndex, Date x) throws SQLException;
+
+  void setTime(int parameterIndex, Time x) throws SQLException;
+
+  void setTimestamp(int parameterIndex, Timestamp x) throws
       SQLException;
 
-  /**
-   * @since 1.4
-   */
-  public void setAsciiStream(int parameterIndex, InputStream x, int length)
+  void setAsciiStream(int parameterIndex, InputStream x, int length)
       throws SQLException;
 
-  /**
-   * @since 1.4
-   */
-  public void setBinaryStream(int parameterIndex, InputStream x, int length)
+  void setBinaryStream(int parameterIndex, InputStream x, int length)
       throws SQLException;
 
-  /**
-   * @since 1.4
-   */
-  public void setCharacterStream(int parameterIndex, Reader reader, int
+  void setCharacterStream(int parameterIndex, Reader reader, int
       length) throws SQLException;
 
-  /**
-   * @since 1.4
-   */
-  public void setObject(int parameterIndex, Object x, int targetSqlType, int
+  void setObject(int parameterIndex, Object x, int targetSqlType, int
       scale) throws SQLException;
 
-  /**
-   * @since 1.4
-   */
-  public void setObject(int parameterIndex, Object x, int targetSqlType)
+  void setObject(int parameterIndex, Object x, int targetSqlType)
       throws SQLException;
 
-  /**
-   * @since 1.4
-   */
-  public void setObject(int parameterIndex, Object x) throws SQLException;
-
-  /**
-   * @since 1.4
-   */
-  public void setRef(int i, Ref x) throws SQLException;
-
-  /**
-   * @since 1.4
-   */
-  public void setBlob(int i, Blob x) throws SQLException;
-
-  /**
-   * @since 1.4
-   */
-  public void setClob(int i, Clob x) throws SQLException;
-
-  /**
-   * @since 1.4
-   */
-  public void setArray(int i, Array x) throws SQLException;
-
-  /**
-   * @since 1.4
-   */
-  public void setDate(int parameterIndex, Date x, Calendar cal) throws
+  void setObject(int parameterIndex, Object x) throws SQLException;
+
+  void setRef(int i, Ref x) throws SQLException;
+
+  void setBlob(int i, Blob x) throws SQLException;
+
+  void setClob(int i, Clob x) throws SQLException;
+
+  void setArray(int i, Array x) throws SQLException;
+
+  void setDate(int parameterIndex, Date x, Calendar cal) throws
       SQLException;
 
-  /**
-   * @since 1.4
-   */
-  public void setTime(int parameterIndex, Time x, Calendar cal) throws
+  void setTime(int parameterIndex, Time x, Calendar cal) throws
       SQLException;
 
-  /**
-   * @since 1.4
-   */
-  public void setTimestamp(int parameterIndex, Timestamp x, Calendar cal)
+  void setTimestamp(int parameterIndex, Timestamp x, Calendar cal)
       throws SQLException;
 
-  /**
-   * @since 1.4
-   */
-  public void clearParameters() throws SQLException;
-
-  /**
-   * @since 1.4
-   */
-  public void execute() throws SQLException;
-
-  /**
-   * @since 1.4
-   */
-  public void addRowSetListener(RowSetListener listener);
-
-  /**
-   * @since 1.4
-   */
-  public void removeRowSetListener(RowSetListener listener);
+  void clearParameters() throws SQLException;
+
+  void execute() throws SQLException;
+
+  void addRowSetListener(RowSetListener listener);
+
+  void removeRowSetListener(RowSetListener listener);
 }
Index: javax/sql/RowSetInternal.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/sql/RowSetInternal.java,v
retrieving revision 1.1
diff -u -b -B -r1.1 RowSetInternal.java
--- javax/sql/RowSetInternal.java	21 Jun 2002 05:39:27 -0000	1.1
+++ javax/sql/RowSetInternal.java	11 Oct 2003 19:09:38 -0000
@@ -50,25 +50,25 @@
   /**
    * @since 1.4
    */
-  public Object[] getParams() throws SQLException;
+  Object[] getParams() throws SQLException;
 
   /**
    * @since 1.4
    */
-  public Connection getConnection() throws SQLException;
+  Connection getConnection() throws SQLException;
 
   /**
    * @since 1.4
    */
-  public void setMetaData(RowSetMetaData md) throws SQLException;
+  void setMetaData(RowSetMetaData md) throws SQLException;
 
   /**
    * @since 1.4
    */
-  public ResultSet getOriginal() throws SQLException;
+  ResultSet getOriginal() throws SQLException;
 
   /**
    * @since 1.4
    */
-  public ResultSet getOriginalRow() throws SQLException;
+  ResultSet getOriginalRow() throws SQLException;
 }
Index: javax/sql/RowSetListener.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/sql/RowSetListener.java,v
retrieving revision 1.1
diff -u -b -B -r1.1 RowSetListener.java
--- javax/sql/RowSetListener.java	21 Jun 2002 05:39:27 -0000	1.1
+++ javax/sql/RowSetListener.java	11 Oct 2003 19:09:38 -0000
@@ -45,18 +45,9 @@
  */
 public interface RowSetListener extends EventListener 
 {
-  /**
-   * @since 1.4
-   */
-  public void rowSetChanged(RowSetEvent event);
+  void rowSetChanged(RowSetEvent event);
 
-  /**
-   * @since 1.4
-   */
-  public void rowChanged(RowSetEvent event);
+  void rowChanged(RowSetEvent event);
 
-  /**
-   * @since 1.4
-   */
-  public void cursorMoved(RowSetEvent event);
+  void cursorMoved(RowSetEvent event);
 }
Index: javax/sql/RowSetMetaData.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/sql/RowSetMetaData.java,v
retrieving revision 1.1
diff -u -b -B -r1.1 RowSetMetaData.java
--- javax/sql/RowSetMetaData.java	21 Jun 2002 05:39:27 -0000	1.1
+++ javax/sql/RowSetMetaData.java	11 Oct 2003 19:09:38 -0000
@@ -46,102 +46,50 @@
  */
 public interface RowSetMetaData extends ResultSetMetaData 
 {
+  void setColumnCount(int columnCount) throws SQLException;
 
-  /**
-   * @since 1.4
-   */
-  public void setColumnCount(int columnCount) throws SQLException;
-
-  /**
-   * @since 1.4
-   */
-  public void setAutoIncrement(int columnIndex, boolean property)
+  void setAutoIncrement(int columnIndex, boolean property)
     throws SQLException;
 
-  /**
-   * @since 1.4
-   */
-  public void setCaseSensitive(int columnIndex, boolean property)
+  void setCaseSensitive(int columnIndex, boolean property)
     throws SQLException;
 
-  /**
-   * @since 1.4
-   */
-  public void setSearchable(int columnIndex, boolean property)
+  void setSearchable(int columnIndex, boolean property)
     throws SQLException;
 
-  /**
-   * @since 1.4
-   */
-  public void setCurrency(int columnIndex, boolean property)
+  void setCurrency(int columnIndex, boolean property)
     throws SQLException;
 
-  /**
-   * @since 1.4
-   */
-  public void setNullable(int columnIndex, int property) throws SQLException;
+  void setNullable(int columnIndex, int property) throws SQLException;
 
-  /**
-   * @since 1.4
-   */
-  public void setSigned(int columnIndex, boolean property)
+  void setSigned(int columnIndex, boolean property)
     throws SQLException;
 
-  /**
-   * @since 1.4
-   */
-  public void setColumnDisplaySize(int columnIndex, int size)
+  void setColumnDisplaySize(int columnIndex, int size)
     throws SQLException;
 
-  /**
-   * @since 1.4
-   */
-  public void setColumnLabel(int columnIndex, String label)
+  void setColumnLabel(int columnIndex, String label)
     throws SQLException;
 
-  /**
-   * @since 1.4
-   */
-  public void setColumnName(int columnIndex, String columnName)
+  void setColumnName(int columnIndex, String columnName)
     throws SQLException;
 
-  /**
-   * @since 1.4
-   */
-  public void setSchemaName(int columnIndex, String schemaName)
+  void setSchemaName(int columnIndex, String schemaName)
     throws SQLException;
 
-  /**
-   * @since 1.4
-   */
-  public void setPrecision(int columnIndex, int precision)
+  void setPrecision(int columnIndex, int precision)
     throws SQLException;
 
-  /**
-   * @since 1.4
-   */
-  public void setScale(int columnIndex, int scale) throws SQLException;
+  void setScale(int columnIndex, int scale) throws SQLException;
 
-  /**
-   * @since 1.4
-   */
-  public void setTableName(int columnIndex, String tableName)
+  void setTableName(int columnIndex, String tableName)
     throws SQLException;
 
-  /**
-   * @since 1.4
-   */
-  public void setCatalogName(int columnIndex, String catalogName)
+  void setCatalogName(int columnIndex, String catalogName)
     throws SQLException;
 
-  /**
-   * @since 1.4
-   */
-  public void setColumnType(int columnIndex, int SQLType) throws SQLException;
+  void setColumnType(int columnIndex, int SQLType) throws SQLException;
 
-  /**
-   * @since 1.4
-   */
-  public void setColumnTypeName(int columnIndex, String typeName)
+  void setColumnTypeName(int columnIndex, String typeName)
     throws SQLException;
 }
Index: javax/sql/RowSetReader.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/sql/RowSetReader.java,v
retrieving revision 1.1
diff -u -b -B -r1.1 RowSetReader.java
--- javax/sql/RowSetReader.java	21 Jun 2002 05:39:27 -0000	1.1
+++ javax/sql/RowSetReader.java	11 Oct 2003 19:09:38 -0000
@@ -45,8 +45,5 @@
  */
 public interface RowSetReader 
 {
-  /**
-   * @since 1.4
-   */
-  public void readData(RowSetInternal caller) throws SQLException;
+  void readData(RowSetInternal caller) throws SQLException;
 }
Index: javax/sql/RowSetWriter.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/sql/RowSetWriter.java,v
retrieving revision 1.1
diff -u -b -B -r1.1 RowSetWriter.java
--- javax/sql/RowSetWriter.java	21 Jun 2002 05:39:27 -0000	1.1
+++ javax/sql/RowSetWriter.java	11 Oct 2003 19:09:38 -0000
@@ -45,8 +45,5 @@
  */
 public interface RowSetWriter 
 {
-  /**
-   * @since 1.4
-   */
-  public boolean writeData(RowSetInternal caller) throws SQLException;
+  boolean writeData(RowSetInternal caller) throws SQLException;
 }
Index: javax/sql/XAConnection.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/sql/XAConnection.java,v
retrieving revision 1.1
diff -u -b -B -r1.1 XAConnection.java
--- javax/sql/XAConnection.java	21 Jun 2002 05:39:27 -0000	1.1
+++ javax/sql/XAConnection.java	11 Oct 2003 19:09:38 -0000
@@ -46,8 +46,5 @@
  */
 public interface XAConnection extends PooledConnection 
 {
-  /**
-   * @since 1.4
-   */
-  public XAResource getXAResource() throws SQLException;
+  XAResource getXAResource() throws SQLException;
 }
Index: javax/sql/XADataSource.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/sql/XADataSource.java,v
retrieving revision 1.1
diff -u -b -B -r1.1 XADataSource.java
--- javax/sql/XADataSource.java	21 Jun 2002 05:39:27 -0000	1.1
+++ javax/sql/XADataSource.java	11 Oct 2003 19:09:38 -0000
@@ -46,34 +46,16 @@
  */
 public interface XADataSource 
 {
-  /**
-   * @since 1.4
-   */
-  public XAConnection getXAConnection() throws SQLException;
+  XAConnection getXAConnection() throws SQLException;
 
-  /**
-   * @since 1.4
-   */
-  public XAConnection getXAConnection(String user, String password) throws
+  XAConnection getXAConnection(String user, String password) throws
       SQLException;
 
-  /**
-   * @since 1.4
-   */
-  public PrintWriter getLogWriter() throws SQLException;
+  PrintWriter getLogWriter() throws SQLException;
 
-  /**
-   * @since 1.4
-   */
-  public void setLogWriter(PrintWriter out) throws SQLException;
+  void setLogWriter(PrintWriter out) throws SQLException;
 
-  /**
-   * @since 1.4
-   */
-  public void setLoginTimeout(int seconds) throws SQLException;
+  void setLoginTimeout(int seconds) throws SQLException;
 
-  /**
-   * @since 1.4
-   */
-  public int getLoginTimeout() throws SQLException;
+  int getLoginTimeout() throws SQLException;
 }

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]