Changeset 4261


Ignore:
Timestamp:
10/09/03 15:06:11 (19 years ago)
Author:
piso
Message:

setRowMajor(): don't signal an error if the operation succeeds!

File:
1 edited

Legend:

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

    r3929 r4261  
    33 *
    44 * Copyright (C) 2003 Peter Graves
    5  * $Id: DisplacedArray.java,v 1.13 2003-09-20 17:02:04 piso Exp $
     5 * $Id: DisplacedArray.java,v 1.14 2003-10-09 15:06:11 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    155155        if (index >= 0 && index < size)
    156156            array.setRowMajor(index + offset, newValue);
    157         throw new ConditionThrowable(new TypeError("bad row major index " + index));
     157        else
     158            throw new ConditionThrowable(new TypeError("bad row major index " + index));
    158159    }
    159160
Note: See TracChangeset for help on using the changeset viewer.