You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by te...@apache.org on 2007/07/11 15:18:37 UTC
svn commit: r555264 - in
/harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql:
CallableStatement.java Date.java DriverManager.java PreparedStatement.java
ResultSet.java
Author: tellison
Date: Wed Jul 11 06:18:36 2007
New Revision: 555264
URL: http://svn.apache.org/viewvc?view=rev&rev=555264
Log:
Remove Deprecated annotations that no longer appear in Java 6 spec.
Modified:
harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/CallableStatement.java
harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/Date.java
harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/DriverManager.java
harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/PreparedStatement.java
harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/ResultSet.java
Modified: harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/CallableStatement.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/CallableStatement.java?view=diff&rev=555264&r1=555263&r2=555264
==============================================================================
--- harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/CallableStatement.java (original)
+++ harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/CallableStatement.java Wed Jul 11 06:18:36 2007
@@ -109,7 +109,6 @@
* @deprecated Use getBigDecimal(int parameterIndex) or getBigDecimal(String
* parameterName)
*/
- @Deprecated
public BigDecimal getBigDecimal(int parameterIndex, int scale)
throws SQLException;
Modified: harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/Date.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/Date.java?view=diff&rev=555264&r1=555263&r2=555264
==============================================================================
--- harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/Date.java (original)
+++ harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/Date.java Wed Jul 11 06:18:36 2007
@@ -50,7 +50,6 @@
* @param theDay
* the day in the month. Must be in the range 1 to 31.
*/
- @Deprecated
public Date(int theYear, int theMonth, int theDay) {
super(theYear, theMonth, theDay);
}
@@ -77,7 +76,6 @@
* @throws IllegalArgumentException
* if this method is called
*/
- @Deprecated
@Override
public int getHours() {
throw new IllegalArgumentException();
@@ -90,7 +88,6 @@
* @throws IllegalArgumentException
* if this method is called
*/
- @Deprecated
@Override
public int getMinutes() {
throw new IllegalArgumentException();
@@ -103,7 +100,6 @@
* @throws IllegalArgumentException
* if this method is called
*/
- @Deprecated
@Override
public int getSeconds() {
throw new IllegalArgumentException();
@@ -117,7 +113,6 @@
* @throws IllegalArgumentException
* if this method is called
*/
- @Deprecated
@Override
public void setHours(int theHours) {
throw new IllegalArgumentException();
@@ -131,7 +126,6 @@
* @throws IllegalArgumentException
* if this method is called
*/
- @Deprecated
@Override
public void setMinutes(int theMinutes) {
throw new IllegalArgumentException();
@@ -145,7 +139,6 @@
* @throws IllegalArgumentException
* if this method is called
*/
- @Deprecated
@Override
public void setSeconds(int theSeconds) {
throw new IllegalArgumentException();
Modified: harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/DriverManager.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/DriverManager.java?view=diff&rev=555264&r1=555263&r2=555264
==============================================================================
--- harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/DriverManager.java (original)
+++ harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/DriverManager.java Wed Jul 11 06:18:36 2007
@@ -297,7 +297,6 @@
* the JDBC Drivers.
* @return the PrintStream used for logging activity
*/
- @Deprecated
public static PrintStream getLogStream() {
return thePrintStream;
}
Modified: harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/PreparedStatement.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/PreparedStatement.java?view=diff&rev=555264&r1=555263&r2=555264
==============================================================================
--- harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/PreparedStatement.java (original)
+++ harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/PreparedStatement.java Wed Jul 11 06:18:36 2007
@@ -607,7 +607,6 @@
* @throws SQLException
* if a database error happens
*/
- @Deprecated
public void setUnicodeStream(int parameterIndex,
InputStream theInputStream, int length) throws SQLException;
Modified: harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/ResultSet.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/ResultSet.java?view=diff&rev=555264&r1=555263&r2=555264
==============================================================================
--- harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/ResultSet.java (original)
+++ harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/ResultSet.java Wed Jul 11 06:18:36 2007
@@ -300,7 +300,6 @@
* @throws SQLException
* if a database error happens
*/
- @Deprecated
public BigDecimal getBigDecimal(int columnIndex, int scale)
throws SQLException;
@@ -327,7 +326,6 @@
* @throws SQLException
* if a database error happens
*/
- @Deprecated
public BigDecimal getBigDecimal(String columnName, int scale)
throws SQLException;
@@ -1015,7 +1013,6 @@
* @throws SQLException
* if a database error happens
*/
- @Deprecated
public InputStream getUnicodeStream(int columnIndex) throws SQLException;
/**
@@ -1030,7 +1027,6 @@
* @throws SQLException
* if a database error happens
*/
- @Deprecated
public InputStream getUnicodeStream(String columnName) throws SQLException;
/**