Changeset 11417


Ignore:
Timestamp:
12/04/08 23:17:46 (12 years ago)
Author:
ehuelsmann
Message:

Rename variables shadowing fields.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/open-external-format/src/org/armedbear/lisp/Stream.java

    r11416 r11417  
    152152      {
    153153        isBinaryStream = true;
    154         InputStream in = new BufferedInputStream(inputStream);
    155   initAsBinaryInputStream(in);
     154        InputStream stream = new BufferedInputStream(inputStream);
     155  initAsBinaryInputStream(stream);
    156156      }
    157157  }
     
    175175    if (elementType == Symbol.CHARACTER || elementType == Symbol.BASE_CHAR)
    176176      {
    177   Writer writer;
     177  Writer w;
    178178        try
    179179          {
    180             writer = (encoding == null) ?
     180            w = (encoding == null) ?
    181181                new OutputStreamWriter(outputStream)
    182182                : new OutputStreamWriter(outputStream, encoding);
     
    185185          {
    186186            Debug.trace(e);
    187             writer = new OutputStreamWriter(outputStream);
    188           }
    189   initAsCharacterOutputStream(writer);
     187            w = new OutputStreamWriter(outputStream);
     188          }
     189  initAsCharacterOutputStream(w);
    190190      }
    191191    else
    192192      {
    193         OutputStream out = new BufferedOutputStream(outputStream);
    194   initAsBinaryOutputStream(out);
     193        OutputStream stream = new BufferedOutputStream(outputStream);
     194  initAsBinaryOutputStream(stream);
    195195      }
    196196  }
Note: See TracChangeset for help on using the changeset viewer.