6587245: Import declaration not used in sun.print.*
authorjgodinez
Thu, 04 Dec 2008 10:05:36 -0800
changeset 1738 64832045cb32
parent 1737 90d4fe987b09
child 1739 ed98610896e7
6587245: Import declaration not used in sun.print.* Reviewed-by: tdv, prr
jdk/src/share/classes/javax/print/Doc.java
jdk/src/share/classes/javax/print/DocFlavor.java
jdk/src/share/classes/javax/print/DocPrintJob.java
jdk/src/share/classes/javax/print/MultiDocPrintService.java
jdk/src/share/classes/javax/print/PrintServiceLookup.java
jdk/src/share/classes/javax/print/attribute/URISyntax.java
jdk/src/share/classes/javax/print/event/PrintServiceAttributeEvent.java
jdk/src/share/classes/sun/print/PSPathGraphics.java
jdk/src/share/classes/sun/print/PrintJobAttributeException.java
jdk/src/share/classes/sun/print/SunMinMaxPage.java
jdk/src/share/classes/sun/print/SunPageSelection.java
--- a/jdk/src/share/classes/javax/print/Doc.java	Tue Nov 25 14:38:36 2008 -0800
+++ b/jdk/src/share/classes/javax/print/Doc.java	Thu Dec 04 10:05:36 2008 -0800
@@ -28,9 +28,7 @@
 import java.io.InputStream;
 import java.io.IOException;
 import java.io.Reader;
-import java.io.UnsupportedEncodingException;
 
-import javax.print.attribute.AttributeSet;
 import javax.print.attribute.DocAttributeSet;
 
 
--- a/jdk/src/share/classes/javax/print/DocFlavor.java	Tue Nov 25 14:38:36 2008 -0800
+++ b/jdk/src/share/classes/javax/print/DocFlavor.java	Thu Dec 04 10:05:36 2008 -0800
@@ -30,7 +30,6 @@
 import java.io.ObjectOutputStream;
 import java.io.Serializable;
 
-import java.util.Map;
 
 /**
  * Class <code>DocFlavor</code> encapsulates an object that specifies the
--- a/jdk/src/share/classes/javax/print/DocPrintJob.java	Tue Nov 25 14:38:36 2008 -0800
+++ b/jdk/src/share/classes/javax/print/DocPrintJob.java	Thu Dec 04 10:05:36 2008 -0800
@@ -25,7 +25,6 @@
 
 package javax.print;
 
-import javax.print.attribute.AttributeSet;
 import javax.print.attribute.PrintJobAttributeSet;
 import javax.print.attribute.PrintRequestAttributeSet;
 import javax.print.event.PrintJobAttributeListener;
--- a/jdk/src/share/classes/javax/print/MultiDocPrintService.java	Tue Nov 25 14:38:36 2008 -0800
+++ b/jdk/src/share/classes/javax/print/MultiDocPrintService.java	Thu Dec 04 10:05:36 2008 -0800
@@ -25,11 +25,6 @@
 
 package javax.print;
 
-import java.util.Map;
-
-import javax.print.attribute.Attribute;
-import javax.print.event.PrintServiceAttributeListener;
-
 
  /** Interface MultiPrintService is the factory for a MultiDocPrintJob.
   * A MultiPrintService
--- a/jdk/src/share/classes/javax/print/PrintServiceLookup.java	Tue Nov 25 14:38:36 2008 -0800
+++ b/jdk/src/share/classes/javax/print/PrintServiceLookup.java	Thu Dec 04 10:05:36 2008 -0800
@@ -28,7 +28,6 @@
 
 import java.util.ArrayList;
 import java.util.Iterator;
-import java.util.List;
 import javax.print.attribute.AttributeSet;
 
 import sun.awt.AppContext;
--- a/jdk/src/share/classes/javax/print/attribute/URISyntax.java	Tue Nov 25 14:38:36 2008 -0800
+++ b/jdk/src/share/classes/javax/print/attribute/URISyntax.java	Thu Dec 04 10:05:36 2008 -0800
@@ -28,7 +28,6 @@
 
 import java.io.Serializable;
 import java.net.URI;
-import java.net.URISyntaxException;
 
 /**
  * Class URISyntax is an abstract base class providing the common
--- a/jdk/src/share/classes/javax/print/event/PrintServiceAttributeEvent.java	Tue Nov 25 14:38:36 2008 -0800
+++ b/jdk/src/share/classes/javax/print/event/PrintServiceAttributeEvent.java	Thu Dec 04 10:05:36 2008 -0800
@@ -25,7 +25,6 @@
 
 package javax.print.event;
 
-import java.util.List;
 import javax.print.PrintService;
 import javax.print.attribute.AttributeSetUtilities;
 import javax.print.attribute.PrintServiceAttributeSet;
--- a/jdk/src/share/classes/sun/print/PSPathGraphics.java	Tue Nov 25 14:38:36 2008 -0800
+++ b/jdk/src/share/classes/sun/print/PSPathGraphics.java	Thu Dec 04 10:05:36 2008 -0800
@@ -30,7 +30,6 @@
 import java.awt.Graphics;
 import java.awt.Graphics2D;
 import java.awt.Image;
-import java.awt.Paint;
 import java.awt.Shape;
 import java.awt.Transparency;
 
--- a/jdk/src/share/classes/sun/print/PrintJobAttributeException.java	Tue Nov 25 14:38:36 2008 -0800
+++ b/jdk/src/share/classes/sun/print/PrintJobAttributeException.java	Thu Dec 04 10:05:36 2008 -0800
@@ -25,7 +25,6 @@
 
 package sun.print;
 
-import javax.print.DocFlavor;
 import javax.print.AttributeException;
 import javax.print.PrintException;
 import javax.print.attribute.Attribute;
--- a/jdk/src/share/classes/sun/print/SunMinMaxPage.java	Tue Nov 25 14:38:36 2008 -0800
+++ b/jdk/src/share/classes/sun/print/SunMinMaxPage.java	Thu Dec 04 10:05:36 2008 -0800
@@ -25,7 +25,6 @@
 
 package sun.print;
 
-import javax.print.attribute.EnumSyntax;
 import javax.print.attribute.PrintRequestAttribute;
 
 /*
--- a/jdk/src/share/classes/sun/print/SunPageSelection.java	Tue Nov 25 14:38:36 2008 -0800
+++ b/jdk/src/share/classes/sun/print/SunPageSelection.java	Thu Dec 04 10:05:36 2008 -0800
@@ -26,7 +26,6 @@
 package sun.print;
 
 import javax.print.attribute.PrintRequestAttribute;
-import javax.print.attribute.standard.Media;
 
 /*
  * A class used to determine the range of pages to be printed.