--- old/src/java.desktop/share/classes/javax/print/package-info.java 2017-08-11 15:13:24.000000000 -0700 +++ new/src/java.desktop/share/classes/javax/print/package-info.java 2017-08-11 15:13:24.000000000 -0700 @@ -28,10 +28,10 @@ * Service API. The Java Print Service API enables client and server * applications to: * * *

Print Service Discovery

@@ -51,15 +51,15 @@ *

Attribute Definitions

* The {@link javax.print.attribute} and {@link javax.print.attribute.standard} * packages define print attributes, which describe the capabilities of a print - * service, specify the requirements of a print job, and track the progress of - * a print job. + * service, specify the requirements of a print job, and track the progress of a + * print job. *

* The {@code javax.print.attribute} package describes the types of attributes * and how they can be collected into sets. The * {@code javax.print.attribute.standard} package enumerates all of the standard * attributes supported by the API, most of which are implementations of * attributes specified in the IETF Specification, - * RFC 2911 Internet Printing + * RFC 2911 Internet Printing * Protocol, 1.1: Model and Semantics, dated September 2000. The attributes * specified in {@code javax.print.attribute.standard} include common * capabilities, such as: resolution, copies, media sizes, job priority, and @@ -78,16 +78,16 @@ * A typical application using the Java Print Service API performs these steps * to process a print request: *

    - *
  1. Chooses a {@code DocFlavor}.
  2. - *
  3. Creates a set of attributes.
  4. - *
  5. Locates a print service that can handle the print request as - * specified by the {@code DocFlavor} and the attribute set.
  6. - *
  7. Creates a {@link javax.print.Doc Doc} object encapsulating the - * {@code DocFlavor} and the actual print data, which can take many forms - * including: a Postscript file, a JPEG image, a URL, or plain text.
  8. - *
  9. Gets a print job, represented by - * {@link javax.print.DocPrintJob DocPrintJob}, from the print service.
  10. - *
  11. Calls the print method of the print job.
  12. + *
  13. Chooses a {@code DocFlavor}. + *
  14. Creates a set of attributes. + *
  15. Locates a print service that can handle the print request as specified + * by the {@code DocFlavor} and the attribute set. + *
  16. Creates a {@link javax.print.Doc Doc} object encapsulating the + * {@code DocFlavor} and the actual print data, which can take many forms + * including: a Postscript file, a JPEG image, a {@code URL}, or plain text. + *
  17. Gets a print job, represented by + * {@link javax.print.DocPrintJob DocPrintJob}, from the print service. + *
  18. Calls the print method of the print job. *
* The following code sample demonstrates a typical use of the Java Print * Service API: locating printers that can print five double-sided copies of a @@ -119,13 +119,13 @@ * } * } * - *

- * Please note: In the javax.print APIs, a null reference parameter to methods - * is incorrect unless explicitly documented on the method as having a - * meaningful interpretation. Usage to the contrary is incorrect coding and may - * result in a run time exception either immediately or at some later time. - * IllegalArgumentException and NullPointerException are examples of typical and - * acceptable run time exceptions for such cases. + *

+ * Please note: In the {@code javax.print} APIs, a {@code null} reference + * parameter to methods is incorrect unless explicitly documented on the method + * as having a meaningful interpretation. Usage to the contrary is incorrect + * coding and may result in a run time exception either immediately or at some + * later time. {@code IllegalArgumentException} and {@code NullPointerException} + * are examples of typical and acceptable run time exceptions for such cases. * * @since 1.4 */