PrintStream (PrintStream): Fix illegal usage of "this" before "super".

1999-11-01  Bryce McKinlay  <bryce@albatross.co.nz>

        * java/io/PrintStream (PrintStream): Fix illegal usage of "this"
          before "super".
        * java/io/OutputStreamWriter (OutputStreamWriter): ditto.
        * java/io/InputStreamReader (InputStreamReader): ditto.

From-SVN: r30300
This commit is contained in:
Bryce McKinlay 1999-11-01 01:15:37 +00:00 committed by Bryce McKinlay
parent 14a774a9d2
commit 6b5ba2ce34
4 changed files with 28 additions and 10 deletions

View file

@ -44,9 +44,11 @@ public class InputStreamReader extends Reader
private InputStreamReader(InputStream in, BytesToUnicode decoder)
{
super((this.in = (in instanceof BufferedInputStream
? (BufferedInputStream) in
: new BufferedInputStream(in, 250))));
this.in = in instanceof BufferedInputStream
? (BufferedInputStream) in
: new BufferedInputStream(in, 250);
/* Don't need to call super(in) here as long as the lock gets set. */
this.lock = in;
converter = decoder;
converter.setInput(this.in.buf, 0, 0);
}