< prev index next >

src/java.desktop/share/classes/javax/imageio/stream/ImageOutputStreamImpl.java

Print this page

        

@@ -28,21 +28,21 @@
 import java.io.IOException;
 import java.io.UTFDataFormatException;
 import java.nio.ByteOrder;
 
 /**
- * An abstract class implementing the <code>ImageOutputStream</code> interface.
+ * An abstract class implementing the {@code ImageOutputStream} interface.
  * This class is designed to reduce the number of methods that must
  * be implemented by subclasses.
  *
  */
 public abstract class ImageOutputStreamImpl
     extends ImageInputStreamImpl
     implements ImageOutputStream {
 
     /**
-     * Constructs an <code>ImageOutputStreamImpl</code>.
+     * Constructs an {@code ImageOutputStreamImpl}.
      */
     public ImageOutputStreamImpl() {
     }
 
     public abstract void write(int b) throws IOException;

@@ -479,12 +479,12 @@
 
     /**
      * If the bit offset is non-zero, forces the remaining bits
      * in the current byte to 0 and advances the stream position
      * by one.  This method should be called by subclasses at the
-     * beginning of the <code>write(int)</code> and
-     * <code>write(byte[], int, int)</code> methods.
+     * beginning of the {@code write(int)} and
+     * {@code write(byte[], int, int)} methods.
      *
      * @exception IOException if an I/O error occurs.
      */
     protected final void flushBits() throws IOException {
         checkClosed();
< prev index next >