< prev index next >

jdk/src/java.base/share/classes/java/util/zip/Checksum.java

Print this page

        

@@ -49,11 +49,11 @@
      * @param b the array of bytes to update the checksum with
      *
      * @throws NullPointerException
      *         if {@code b} is {@code null}
      *
-     * @since 1.9
+     * @since 9
      */
     default public void update(byte[] b) {
         update(b, 0, b.length);
     }
 

@@ -97,11 +97,11 @@
      * @param buffer the ByteBuffer to update the checksum with
      *
      * @throws NullPointerException
      *         if {@code buffer} is {@code null}
      *
-     * @since 1.9
+     * @since 9
      */
     default public void update(ByteBuffer buffer) {
         int pos = buffer.position();
         int limit = buffer.limit();
         assert (pos <= limit);
< prev index next >