
| Key: |
TORQUE-103
|
| Type: |
Bug
|
| Status: |
Closed
|
| Resolution: |
Fixed
|
| Priority: |
Major
|
| Assignee: |
Unassigned
|
| Reporter: |
Jonathan Purvis
|
| Votes: |
0
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
|
| Resolution Date: |
14/Oct/07 10:25 AM
|
|
line 225 of TorqueRuntimeException.java has:
return (String[]) list.toArray();
it should be:
return (String[]) list.toArray(new String[list.size()]);
Otherwise the returned array will be of type Object[] and the cast will fail at runtime.
|
|
Description
|
line 225 of TorqueRuntimeException.java has:
return (String[]) list.toArray();
it should be:
return (String[]) list.toArray(new String[list.size()]);
Otherwise the returned array will be of type Object[] and the cast will fail at runtime.
|
Show » |
|
Thanks for the patch.