Whoops. The patch and commit have been empty. Here's the patch, the
stuff is committed.
> 2006-12-11 Roman Kennke <[EMAIL PROTECTED]>
>
> * java/awt/print/PrinterJob.java
> (lookupStreamPrintServices): Uncommented and fixed parameters.
/Roman
Index: java/awt/print/PrinterJob.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/awt/print/PrinterJob.java,v
retrieving revision 1.18
diff -u -1 -5 -r1.18 PrinterJob.java
--- java/awt/print/PrinterJob.java 11 Dec 2006 20:41:38 -0000 1.18
+++ java/awt/print/PrinterJob.java 11 Dec 2006 20:48:00 -0000
@@ -252,31 +252,32 @@
new DocFlavor("application/x-java-jvm-local-objectref",
"java.awt.print.Pageable"),
null);
}
/**
* Find and return 2D image stream print services.
*
* This is the same as calling
* StreamPrintServiceFactory.lookupStreamPrintServices()
* with Pageable service-specified DocFlavor.
* @param mimeType The output format mime type, or null for any type.
* @return Array of stream print services, could be empty.
* @since 1.4
*/
- public static StreamPrintServiceFactory[] lookupStreamPrintServices(String mimeType)
+ public static StreamPrintServiceFactory[]
+ lookupStreamPrintServices(String mimeType)
{
return StreamPrintServiceFactory.lookupStreamPrintServiceFactories(
DocFlavor.SERVICE_FORMATTED.PAGEABLE, mimeType);
}
/**
* Return the printer for this job. If print services aren't supported by
* the subclass, returns null.
*
* @return The associated PrintService.
* @since 1.4
*/
public PrintService getPrintService()
{
return printer;