harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r820815 - /harmony/enhanced/classlib/trunk/modules/sql/src/main/java/java/sql/Time.java
Date Thu, 01 Oct 2009 21:50:16 GMT
Author: tellison
Date: Thu Oct  1 21:50:16 2009
New Revision: 820815

URL: http://svn.apache.org/viewvc?rev=820815&view=rev
Log:
Fix deprecation warning annotations.

Modified:
    harmony/enhanced/classlib/trunk/modules/sql/src/main/java/java/sql/Time.java

Modified: harmony/enhanced/classlib/trunk/modules/sql/src/main/java/java/sql/Time.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/sql/src/main/java/java/sql/Time.java?rev=820815&r1=820814&r2=820815&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/sql/src/main/java/java/sql/Time.java (original)
+++ harmony/enhanced/classlib/trunk/modules/sql/src/main/java/java/sql/Time.java Thu Oct 
1 21:50:16 2009
@@ -47,7 +47,6 @@
      * @param theSecond
      *            a value in the range {@code [0,59]}.
      */
-    @SuppressWarnings("deprecation")
     @Deprecated
     public Time(int theHour, int theMinute, int theSecond) {
         super(70, 0, 1, theHour, theMinute, theSecond);
@@ -72,7 +71,6 @@
      * @throws IllegalArgumentException
      *             if this method is called.
      */
-    @SuppressWarnings("deprecation")
     @Deprecated
     @Override
     public int getDate() {
@@ -86,7 +84,6 @@
      * @throws IllegalArgumentException
      *             if this method is called.
      */
-    @SuppressWarnings("deprecation")
     @Deprecated
     @Override
     public int getDay() {
@@ -100,7 +97,6 @@
      * @throws IllegalArgumentException
      *             if this method is called.
      */
-    @SuppressWarnings("deprecation")
     @Deprecated
     @Override
     public int getMonth() {
@@ -114,7 +110,6 @@
      * @throws IllegalArgumentException
      *             if this method is called.
      */
-    @SuppressWarnings("deprecation")
     @Deprecated
     @Override
     public int getYear() {
@@ -127,7 +122,6 @@
      * @throws IllegalArgumentException
      *             if this method is called.
      */
-    @SuppressWarnings("deprecation")
     @Deprecated
     @Override
     public void setDate(int i) {
@@ -140,7 +134,6 @@
      * @throws IllegalArgumentException
      *             if this method is called.
      */
-    @SuppressWarnings("deprecation")
     @Deprecated
     @Override
     public void setMonth(int i) {
@@ -153,7 +146,6 @@
      * @throws IllegalArgumentException
      *             if this method is called.
      */
-    @SuppressWarnings("deprecation")
     @Deprecated
     @Override
     public void setYear(int i) {
@@ -182,6 +174,7 @@
      *         format: {@code HH:mm:ss}
      */
     @Override
+    @SuppressWarnings("deprecation")
     public String toString() {
         StringBuilder sb = new StringBuilder(8);
 



Mime
View raw message