users@codemodel.java.net

Re: PrintStream?

From: Aleksei Valikov <valikov_at_gmx.net>
Date: Fri, 10 Sep 2010 23:43:20 +0200

Hi,

> the method
> com.sun.codemodel.JCodeModel#build
>
> uses a PrintStream for printing the status. Shouldn't this be a
> PrintWriter instead?
> Is there any reason for choosing PrintStream? Is it possible to switch
> that to PrintWriter?

System.out is PrintStream, I believe this is the only reason.

Bye.
/lexi