2003-10-11 Michael Koch <konqueror@gmx.de>
authorMichael Koch <konqueror@gmx.de>
Sat, 11 Oct 2003 18:16:31 +0000 (18:16 +0000)
committerMichael Koch <mkoch@gcc.gnu.org>
Sat, 11 Oct 2003 18:16:31 +0000 (18:16 +0000)
* java/awt/print/Pageable.java,
* java/awt/print/Printable.java,
java/awt/print/PrinterGraphics.java:
Removed redundant modifiers.

From-SVN: r72348

libjava/ChangeLog
libjava/java/awt/print/Pageable.java
libjava/java/awt/print/Printable.java
libjava/java/awt/print/PrinterGraphics.java

index 6dae033181b7e42d6144fe734593da52da5e2447..f3ab1c5d351c46e94a0acbce7f1501d2866eec50 100644 (file)
@@ -1,3 +1,10 @@
+2003-10-11  Michael Koch  <konqueror@gmx.de>
+
+       * java/awt/print/Pageable.java,
+       * java/awt/print/Printable.java,
+       java/awt/print/PrinterGraphics.java:
+       Removed redundant modifiers.
+
 2003-10-11  Michael Koch  <konqueror@gmx.de>
 
        * java/awt/peer/ButtonPeer.java,
index fc631c5ce7be59d06e2c63871adb2dc50d3fbcb8..594cfd12ae9d76194f3279bdb93d0bae7c350dd5 100644 (file)
@@ -54,7 +54,7 @@ public interface Pageable
   * This constant is returned when <code>getNumberOfPages()</code>
   * cannot determine the number of pages available for printing.
   */
-public static final int UNKNOWN_NUMBER_OF_PAGES = -1;
+int UNKNOWN_NUMBER_OF_PAGES = -1;
 
 /*************************************************************************/
 
@@ -70,7 +70,7 @@ public static final int UNKNOWN_NUMBER_OF_PAGES = -1;
   * @return The number of pages to be printed, or 
   * <code>UNKNOWN_NUMBER_OF_PAGES</code> if this is unknown.
   */
-public abstract int
+int
 getNumberOfPages();
 
 /*************************************************************************/
@@ -88,7 +88,7 @@ getNumberOfPages();
   * @exception IndexOutOfBoundsException If the requested page number does
   * not exist.
   */
-public abstract PageFormat
+PageFormat
 getPageFormat(int pageIndex) throws IndexOutOfBoundsException;
 
 /*************************************************************************/
@@ -106,7 +106,7 @@ getPageFormat(int pageIndex) throws IndexOutOfBoundsException;
   * @exception IndexOutOfBoundsException If the requested page number does
   * not exist.
   */
-public abstract Printable
+Printable
 getPrintable(int pageIndex) throws IndexOutOfBoundsException;
 
 } // interface Pageable
index 8f3d0b64e9e66c593b5d2c4c5cbaa22252f545fd..fecc01a9d370e7bc2c9eab049359ac07cfcbd4a0 100644 (file)
@@ -58,13 +58,13 @@ public interface Printable
   * This value is returned by the <code>print()</code> method to indicate
   * that the requested page number does not exist.
   */
-public static final int NO_SUCH_PAGE = 0;
+int NO_SUCH_PAGE = 0;
 
 /**
   * This value is returned by the <code>print()</code> method to indicate
   * that the requested page exists and has been printed.
   */
-public static final int PAGE_EXISTS = 1;
+int PAGE_EXISTS = 1;
 
 /*************************************************************************/
 
@@ -82,7 +82,7 @@ public static final int PAGE_EXISTS = 1;
   *
   * @exception PrinterException If an error occurs during printing.
   */
-public abstract int
+int
 print(Graphics graphics, PageFormat format, int page_number) 
       throws PrinterException;
 
index 3615107f3fcccd14d039fe6d8160ea3ebf304460..be8549b5ea7576b0c27bbbc366cc14d44086110a 100644 (file)
@@ -54,7 +54,7 @@ public interface PrinterGraphics
   *
   * @return The <code>PrinterJob</code> that is controlling this print job.
   */
-public abstract PrinterJob
+PrinterJob
 getPrinterJob();
 
 } // interface PrinterGraphics