Changeset 12580


Ignore:
Timestamp:
04/03/10 22:39:04 (11 years ago)
Author:
ehuelsmann
Message:

Remove an exception block which can't be triggered.

File:
1 edited

Legend:

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

    r12513 r12580  
    6464  public static LispCharacter getInstance(char c)
    6565  {
    66     try
    67       {
    68         return lispChars.get(c);
    69       }
    70     catch (ArrayIndexOutOfBoundsException e)
    71       {
    72         return new LispCharacter(c);
    73       }
     66    return lispChars.get(c);
    7467  }
    7568
     
    186179
    187180  public static char getValue(LispObject obj)
    188   {       
    189           if (obj instanceof LispCharacter)
     181  {
     182      if (obj instanceof LispCharacter)
    190183        return ((LispCharacter)obj).value;
    191184      type_error(obj, Symbol.CHARACTER);
Note: See TracChangeset for help on using the changeset viewer.