Changeset 13708


Ignore:
Timestamp:
12/20/11 22:04:33 (12 years ago)
Author:
ehuelsmann
Message:

Follow-up to last commit: Fix #182.

File:
1 edited

Legend:

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

    r13707 r13708  
    291291        System.arraycopy(elements, 0, newElements, 0,
    292292                         Math.min(capacity, newCapacity));
    293         byte initValue = (byte)(initialElement.intValue() & 0xFF);
    294         if (initialElement != null)
     293        if (initialElement != null) {
     294            byte initValue = (byte)(initialElement.intValue() & 0xFF);
    295295            for (int i = capacity; i < newCapacity; i++)
    296296                newElements[i] = initValue;
     297        }
    297298        return new BasicVector_UnsignedByte8(newElements);
    298299      }
Note: See TracChangeset for help on using the changeset viewer.