Changeset 5979


Ignore:
Timestamp:
02/25/04 23:56:58 (17 years ago)
Author:
piso
Message:

Minor cleanup.

File:
1 edited

Legend:

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

    r5112 r5979  
    22 * Array.java
    33 *
    4  * Copyright (C) 2003 Peter Graves
    5  * $Id: Array.java,v 1.17 2003-12-13 00:02:46 piso Exp $
     4 * Copyright (C) 2003-2004 Peter Graves
     5 * $Id: Array.java,v 1.18 2004-02-25 23:56:58 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    8080            }
    8181            catch (ArrayIndexOutOfBoundsException e) {
    82                 signal(new LispError("bad initial contents for array"));
     82                signal(new LispError("Bad initial contents for array."));
    8383                return -1;
    8484            }
     
    8787            int dim = dims[0];
    8888            if (dim != contents.length()) {
    89                 signal(new LispError("bad initial contents for array"));
     89                signal(new LispError("Bad initial contents for array."));
    9090                return -1;
    9191            }
     
    179179        }
    180180        catch (ArrayIndexOutOfBoundsException e) {
    181             return signal(new TypeError("bad row major index " + index));
     181            return signal(new TypeError("Bad row major index " + index + "."));
    182182        }
    183183    }
     
    189189        }
    190190        catch (ArrayIndexOutOfBoundsException e) {
    191             signal(new TypeError("bad row major index " + index));
     191            signal(new TypeError("Bad row major index " + index + "."));
    192192        }
    193193    }
Note: See TracChangeset for help on using the changeset viewer.