mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
8066621: Suppress deprecation warnings in java.desktop module
Reviewed-by: prr, alanb, ptbrunet
This commit is contained in:
parent
d517ee7ec8
commit
6e57ed8a2c
113 changed files with 249 additions and 31 deletions
|
@ -745,6 +745,7 @@ public abstract class RasterPrinterJob extends PrinterJob {
|
|||
* return a PageFormat corresponding to the updated attributes,
|
||||
* or null if the user cancelled the dialog.
|
||||
*/
|
||||
@SuppressWarnings("deprecation")
|
||||
public PageFormat pageDialog(final PrintRequestAttributeSet attributes)
|
||||
throws HeadlessException {
|
||||
if (GraphicsEnvironment.isHeadless()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue