/[classpath]/classpath/java/io/PrintStream.java
ViewVC logotype

Diff of /classpath/java/io/PrintStream.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.16 by mkoch, Sun Jun 8 10:33:00 2003 UTC revision 1.17 by mkoch, Tue Jun 10 19:34:12 2003 UTC
# Line 186  public class PrintStream extends FilterO Line 186  public class PrintStream extends FilterO
186    /**    /**
187     * This method closes this stream and all underlying streams.     * This method closes this stream and all underlying streams.
188     */     */
189    public synchronized void close ()    public void close ()
190    {    {
191      pw.close ();      pw.close ();
192      closed = true;      closed = true;
# Line 459  public class PrintStream extends FilterO Line 459  public class PrintStream extends FilterO
459     *     *
460     * @param b The byte to be written     * @param b The byte to be written
461     */     */
462    public synchronized void write (int oneByte)    public void write (int oneByte)
463    {    {
464      // Sigh, we actually have to implement this method. Flush first so that      // Sigh, we actually have to implement this method. Flush first so that
465      // things get written in the right order.      // things get written in the right order.
# Line 486  public class PrintStream extends FilterO Line 486  public class PrintStream extends FilterO
486     * @param offset The index into the array to start writing from     * @param offset The index into the array to start writing from
487     * @param len The number of bytes to write     * @param len The number of bytes to write
488     */     */
489    public synchronized void write (byte[] buffer, int offset, int len)    public void write (byte[] buffer, int offset, int len)
490    {    {
491      // We actually have to implement this method too. Flush first so that      // We actually have to implement this method too. Flush first so that
492      // things get written in the right order.      // things get written in the right order.

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26