Missed default constructor for StreamPrintServiceFactory.java

XMLWordPrintable

    • Type: CSR
    • Resolution: Approved
    • Priority: P4
    • 16
    • Component/s: client-libs
    • None
    • 2d
    • source
    • minimal
    • SE

      Summary

      Add a default constructor for StreamPrintServiceFactory.java Problem

      Default constructors are an anti--pattern which we need to fix in the desktop module. This is one case that was missed in a previous pass.

      Solution

      Add a default constructor

      Specification

      <pre> public abstract class javax.print.StreamPrintServiceFactory { + /** + * Constructor for subclasses to call. + */ + protected StreamPrintServiceFactory() {} + </pre>

            Assignee:
            Philip Race
            Reporter:
            Philip Race
            Sergey Bylokhov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: