Mailing List Archive

DO NOT REPLY [Bug 9454] New: - PriorityQueue.clear() does not set last element to null
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9454>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9454

PriorityQueue.clear() does not set last element to null

Summary: PriorityQueue.clear() does not set last element to null
Product: Lucene
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: Minor
Priority: Other
Component: Other
AssignedTo: lucene-dev@jakarta.apache.org
ReportedBy: m.j.bomhoff@student.utwente.nl


The code for the clear() method of the PriorityQueue in 1.4 rc5 and the nightly
CVS of 27/04/2002 does not set the last element in the array to null, so its
contents can be garbage-collected.

--
To unsubscribe, e-mail: <mailto:lucene-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-dev-help@jakarta.apache.org>