OutputStreamWriter.java (OutputStreamWriter): Don't refer to `this' before calling superclass constructor.
* java/io/OutputStreamWriter.java (OutputStreamWriter): Don't refer to `this' before calling superclass constructor. * java/io/PrintStream.java (PrintStream): Don't refer to `this' before calling superclass constructor. From-SVN: r29560
This commit is contained in:
parent
32facac808
commit
118a6ea134
|
@ -1,3 +1,10 @@
|
|||
1999-09-21 Tom Tromey <tromey@cygnus.com>
|
||||
|
||||
* java/io/OutputStreamWriter.java (OutputStreamWriter): Don't
|
||||
refer to `this' before calling superclass constructor.
|
||||
* java/io/PrintStream.java (PrintStream): Don't refer to `this'
|
||||
before calling superclass constructor.
|
||||
|
||||
1999-09-20 Tom Tromey <tromey@cygnus.com>
|
||||
|
||||
* configure: Rebuilt.
|
||||
|
|
|
@ -32,9 +32,11 @@ public class OutputStreamWriter extends Writer
|
|||
|
||||
private OutputStreamWriter(OutputStream out, UnicodeToBytes encoder)
|
||||
{
|
||||
super((this.out = (out instanceof BufferedOutputStream
|
||||
? (BufferedOutputStream) out
|
||||
: new BufferedOutputStream(out, 250))));
|
||||
BufferedOutputStream buf = (out instanceof BufferedOutputStream
|
||||
? (BufferedOutputStream) out
|
||||
: new BufferedOutputStream(out, 250));
|
||||
super (buf);
|
||||
this.out = buf;
|
||||
this.converter = encoder;
|
||||
}
|
||||
|
||||
|
|
|
@ -238,9 +238,11 @@ public class PrintStream extends FilterOutputStream
|
|||
|
||||
public PrintStream (OutputStream out, boolean af)
|
||||
{
|
||||
super ((this.out = (out instanceof BufferedOutputStream
|
||||
? (BufferedOutputStream) out
|
||||
: new BufferedOutputStream(out, 250))));
|
||||
BufferedOutputStream buf = (out instanceof BufferedOutputStream
|
||||
? (BufferedOutputStream) out
|
||||
: new BufferedOutputStream(out, 250));
|
||||
super (buf);
|
||||
this.out = buf;
|
||||
converter = UnicodeToBytes.getDefaultEncoder();
|
||||
error = false;
|
||||
auto_flush = af;
|
||||
|
|
Loading…
Reference in New Issue