
|
If you were logged in you would be able to see more operations.
|
|
|
WebWork
Created: 13/Nov/03 04:05 PM
Updated: 16/Nov/03 07:11 PM
|
|
| Component/s: |
None
|
| Affects Version/s: |
1.3
|
| Fix Version/s: |
1.4,
2.0-beta2
|
|
|
The FastByteArrayOutputStream copies byte by byte if the data does not fit in one buffer. The check uses a >= to compare but a > would be more correct. On Resing for example data often comes in chunks of 8192 bytes. The current FastByte stream will copy that byte by byte.
The code also has a FIXME comment saying that it should be changed to use arraycopy instead
|
|
Description
|
The FastByteArrayOutputStream copies byte by byte if the data does not fit in one buffer. The check uses a >= to compare but a > would be more correct. On Resing for example data often comes in chunks of 8192 bytes. The current FastByte stream will copy that byte by byte.
The code also has a FIXME comment saying that it should be changed to use arraycopy instead |
Show » |
|