Changeset 11980


Ignore:
Timestamp:
06/01/09 18:24:53 (13 years ago)
Author:
ehuelsmann
Message:

Remove a catch {} block we can manually check for,
we expect this improves performance.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abcl/src/org/armedbear/lisp/Stream.java

    r11783 r11980  
    17941794  protected int _readChar() throws ConditionThrowable
    17951795  {
    1796     if (pastEnd)
    1797       return -1;
    1798    
     1796    if (reader == null)
     1797        streamNotCharacterInputStream();
     1798
    17991799    try
    18001800      {
     
    18231823
    18241824        return n;
    1825       }
    1826     catch (NullPointerException e)
    1827       {
    1828         // reader is null
    1829         streamNotCharacterInputStream();
    18301825      }
    18311826    catch (IOException e)
Note: See TracChangeset for help on using the changeset viewer.