src/share/classes/java/sql/Time.java

Print this page

        

@@ -113,10 +113,11 @@
     /**
      * Formats a time in JDBC time escape format.
      *
      * @return a <code>String</code> in hh:mm:ss format
      */
+    @SuppressWarnings("deprecation")
     public String toString () {
         int hour = super.getHours();
         int minute = super.getMinutes();
         int second = super.getSeconds();
         String hourString;