< prev index next >

src/java.desktop/share/classes/com/sun/imageio/plugins/jpeg/JPEGImageWriter.java

Print this page

        

@@ -1128,14 +1128,14 @@
         }
 
         /*
          * from jpeg_metadata.html:
          * If no stream metadata is supplied to
-         * <code>ImageWriter.prepareWriteSequence</code>, then no
+         * {@code ImageWriter.prepareWriteSequence}, then no
          * tables-only image is written.  If stream metadata containing
          * no tables is supplied to
-         * <code>ImageWriter.prepareWriteSequence</code>, then a tables-only
+         * {@code ImageWriter.prepareWriteSequence}, then a tables-only
          * image containing default visually lossless tables is written.
          */
         if (streamMetadata != null) {
             if (streamMetadata instanceof JPEGMetadata) {
                 // write a complete tables-only image at the beginning of

@@ -1697,11 +1697,11 @@
 
     /** Sets up native structures for output stream */
     private native void setDest(long structPointer);
 
     /**
-     * Returns <code>true</code> if the write was aborted.
+     * Returns {@code true} if the write was aborted.
      */
     private native boolean writeImage(long structPointer,
                                       byte [] data,
                                       int inCsType, int outCsType,
                                       int numBands,
< prev index next >