< prev index next >

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

Print this page

        

@@ -34,11 +34,11 @@
 import java.awt.color.ICC_ColorSpace;
 
 /**
  * A class containing JPEG-related constants, definitions, and
  * static methods.  This class and its constants must be public so that
- * <code>JPEGImageWriteParam</code> can see it.
+ * {@code JPEGImageWriteParam} can see it.
  */
 public class JPEG {
 
     // List of all the JPEG markers (pre-JPEG2000)
 

@@ -232,14 +232,14 @@
 
     // Default value for ImageWriteParam
     public static final float DEFAULT_QUALITY = 0.75F;
 
     /**
-     * Returns <code>true</code> if the given <code>ColorSpace</code>
+     * Returns {@code true} if the given {@code ColorSpace}
      * object is an instance of ICC_ColorSpace but is not one of the
-     * standard <code>ColorSpaces</code> returned by
-     * <code>ColorSpace.getInstance()</code>.
+     * standard {@code ColorSpaces} returned by
+     * {@code ColorSpace.getInstance()}.
      */
     static boolean isNonStandardICC(ColorSpace cs) {
         boolean retval = false;
         if ((cs instanceof ICC_ColorSpace)
             && (!cs.isCS_sRGB())

@@ -253,12 +253,12 @@
         return retval;
     }
 
 
     /**
-     * Returns <code>true</code> if the given imageType can be used
-     * in a JFIF file.  If <code>input</code> is true, then the
+     * Returns {@code true} if the given imageType can be used
+     * in a JFIF file.  If {@code input} is true, then the
      * image type is considered before colorspace conversion.
      */
     static boolean isJFIFcompliant(ImageTypeSpecifier imageType,
                                    boolean input) {
         ColorModel cm = imageType.getColorModel();

@@ -293,11 +293,11 @@
     }
 
     /**
      * Given an image type, return the Adobe transform corresponding to
      * that type, or ADOBE_IMPOSSIBLE if the image type is incompatible
-     * with an Adobe marker segment.  If <code>input</code> is true, then
+     * with an Adobe marker segment.  If {@code input} is true, then
      * the image type is considered before colorspace conversion.
      */
     static int transformForType(ImageTypeSpecifier imageType, boolean input) {
         int retval = ADOBE_IMPOSSIBLE;
         ColorModel cm = imageType.getColorModel();
< prev index next >