< prev index next >

src/java.desktop/share/classes/javax/print/event/PrintJobAdapter.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -35,10 +35,15 @@
  * methods you need, rather than all of the methods.
  */
 public abstract class PrintJobAdapter implements PrintJobListener {
 
     /**
+     * Constructor for subclasses to call.
+     */
+    protected PrintJobAdapter() {}
+
+    /**
      * Called to notify the client that data has been successfully transferred
      * to the print service, and the client may free local resources allocated
      * for that data. The client should not assume that the data has been
      * completely printed after receiving this event.
      *
< prev index next >