Changeset 10270


Ignore:
Timestamp:
10/29/05 13:35:45 (16 years ago)
Author:
asimon
Message:

Minor cleanup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/j/src/org/armedbear/lisp/Java.java

    r10269 r10270  
    33 *
    44 * Copyright (C) 2002-2005 Peter Graves, Andras Simon
    5  * $Id: Java.java,v 1.60 2005-10-29 13:25:45 asimon Exp $
     5 * $Id: Java.java,v 1.61 2005-10-29 13:35:45 asimon Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    5858
    5959      for (Class c = cl ; c != o ; c = c.getSuperclass())
    60                 if (registeredExceptions.containsKey(c))
    61       return (Symbol)registeredExceptions.get(c);
     60            if (registeredExceptions.containsKey(c))
     61                return (Symbol)registeredExceptions.get(c);
    6262        return null;
    6363    }
     
    6666    private static final Primitive JCLASS =
    6767        new Primitive(Symbol.JCLASS, "name-or-class-ref",
    68 "Returns a reference to the Java class designated by NAME-OR-CLASS-REF.")
     68                      "Returns a reference to the Java class designated by NAME-OR-CLASS-REF.")
    6969    {
    7070        public LispObject execute(LispObject arg) throws ConditionThrowable
     
    355355                Class tClass = t.getClass();
    356356                if (registeredExceptions.containsKey(tClass)) {
    357       signal((Symbol)registeredExceptions.get(tClass), new SimpleString(getMessage(t)));
     357                    signal((Symbol)registeredExceptions.get(tClass), new SimpleString(getMessage(t)));
    358358                }
    359359                signal(new LispError(getMessage(t)));
     
    392392                Symbol condition = getCondition(t.getClass());
    393393                if (condition == null)
    394                    signal(new JavaException(t));
     394                    signal(new JavaException(t));
    395395                else
    396                    signal(condition, new SimpleString(getMessage(t)));
     396                    signal(condition, new SimpleString(getMessage(t)));
    397397            }
    398398            // Not reached.
Note: See TracChangeset for help on using the changeset viewer.