Lines 2630-2636
Link Here
|
2630 |
// The components at positions i+1 through |
2630 |
// The components at positions i+1 through |
2631 |
// items.length-1 in the source array are copied into |
2631 |
// items.length-1 in the source array are copied into |
2632 |
// positions i through items.length-2 |
2632 |
// positions i through items.length-2 |
2633 |
System.arraycopy(items, i + 1, items, i, items.length - (i+1)); |
2633 |
Item[] new_items = new Item[items.length - 1]; |
|
|
2634 |
System.arraycopy(items, 0, new_items, 0, i); |
2635 |
System.arraycopy(items, i + 1, new_items, i, |
2636 |
items.length - (i + 1)); |
2637 |
items = new_items; |
2634 |
} |
2638 |
} |
2635 |
numItemsToDispose--; |
2639 |
numItemsToDispose--; |
2636 |
} else { |
2640 |
} else { |