diff options
author | Michael Koch <konqueror@gmx.de> | 2003-10-11 18:16:31 +0000 |
---|---|---|
committer | Michael Koch <mkoch@gcc.gnu.org> | 2003-10-11 18:16:31 +0000 |
commit | e1a5ed6c63cd361b4b3a70f9467eeeef080dba8c (patch) | |
tree | 9c2b2aed6ea982fe00a77469f278357c09670791 /libjava/java/awt/print | |
parent | 4581f1bc78631e1356be607b8e44517586276348 (diff) | |
download | gcc-e1a5ed6c63cd361b4b3a70f9467eeeef080dba8c.zip gcc-e1a5ed6c63cd361b4b3a70f9467eeeef080dba8c.tar.gz gcc-e1a5ed6c63cd361b4b3a70f9467eeeef080dba8c.tar.bz2 |
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.
From-SVN: r72348
Diffstat (limited to 'libjava/java/awt/print')
-rw-r--r-- | libjava/java/awt/print/Pageable.java | 8 | ||||
-rw-r--r-- | libjava/java/awt/print/Printable.java | 6 | ||||
-rw-r--r-- | libjava/java/awt/print/PrinterGraphics.java | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/libjava/java/awt/print/Pageable.java b/libjava/java/awt/print/Pageable.java index fc631c5..594cfd1 100644 --- a/libjava/java/awt/print/Pageable.java +++ b/libjava/java/awt/print/Pageable.java @@ -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 diff --git a/libjava/java/awt/print/Printable.java b/libjava/java/awt/print/Printable.java index 8f3d0b6..fecc01a 100644 --- a/libjava/java/awt/print/Printable.java +++ b/libjava/java/awt/print/Printable.java @@ -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; diff --git a/libjava/java/awt/print/PrinterGraphics.java b/libjava/java/awt/print/PrinterGraphics.java index 3615107..be8549b 100644 --- a/libjava/java/awt/print/PrinterGraphics.java +++ b/libjava/java/awt/print/PrinterGraphics.java @@ -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 |