Changeset 13708
- Timestamp:
- 12/20/11 22:04:33 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abcl/src/org/armedbear/lisp/BasicVector_UnsignedByte8.java
r13707 r13708 291 291 System.arraycopy(elements, 0, newElements, 0, 292 292 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); 295 295 for (int i = capacity; i < newCapacity; i++) 296 296 newElements[i] = initValue; 297 } 297 298 return new BasicVector_UnsignedByte8(newElements); 298 299 }
Note: See TracChangeset
for help on using the changeset viewer.