diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2012-12-08 09:30:42 +0100 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2012-12-08 11:47:03 +0100 |
commit | d526f8bd74a3a6b878dda77bf19beb60dbc28f81 (patch) | |
tree | 15696ceae54177d44e428fe73873b0d3f8c45a8a /project | |
parent | fd57069a3a49de1757a518b573a0cd8cb98bbbd5 (diff) | |
download | scala-d526f8bd74a3a6b878dda77bf19beb60dbc28f81.tar.gz scala-d526f8bd74a3a6b878dda77bf19beb60dbc28f81.tar.bz2 scala-d526f8bd74a3a6b878dda77bf19beb60dbc28f81.zip |
SI-6690 Release reference to last dequeued element.
Avoids leaks in MutableList and its more better known child,
mutable.Queue, when the last element is dequeued or when we
take the tail of a one element collection.
Refactors copy/pasted code between the two implementations of
tail.
Diffstat (limited to 'project')
0 files changed, 0 insertions, 0 deletions