<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:52:53 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[JAVA-703] GridFS List&lt;GridFSDBFile&gt; find( DBObject query ,...) should close cursor</title>
                <link>https://jira.mongodb.org/browse/JAVA-703</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;The find methods of the GridFS use the DBCursor to convert the results into a list.&lt;br/&gt;
The cursor should be closed in a final block.&lt;/p&gt;

&lt;p&gt;See comment here:&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/pull/88/files#r2251287&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/pull/88/files#r2251287&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="57772">JAVA-703</key>
            <summary>GridFS List&lt;GridFSDBFile&gt; find( DBObject query ,...) should close cursor</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="phil-schneider">Philipp Schneider</reporter>
                        <labels>
                    </labels>
                <created>Wed, 28 Nov 2012 15:13:07 +0000</created>
                <updated>Tue, 19 Mar 2013 14:48:28 +0000</updated>
                            <resolved>Wed, 23 Jan 2013 02:25:14 +0000</resolved>
                                                    <fixVersion>2.11.0</fixVersion>
                                    <component>GridFS</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="247175" author="jeff.yemin" created="Wed, 23 Jan 2013 02:25:14 +0000"  >&lt;p&gt;Merged &lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/pull/88&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/pull/88&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="247171" author="auto" created="Wed, 23 Jan 2013 02:22:40 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2013-01-23T02:22:26Z&apos;, u&apos;name&apos;: u&apos;Jeff Yemin&apos;, u&apos;email&apos;: u&apos;jeff.yemin@10gen.com&apos;}
&lt;p&gt;Message: Merge pull request #88 from phil-schneider/&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-431&quot; title=&quot;the find() method of GridFS should allow specification of sort criteria&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-431&quot;&gt;&lt;del&gt;JAVA-431&lt;/del&gt;&lt;/a&gt;-GridFS-Sorting&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-431&quot; title=&quot;the find() method of GridFS should allow specification of sort criteria&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-431&quot;&gt;&lt;del&gt;JAVA-431&lt;/del&gt;&lt;/a&gt;, &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-703&quot; title=&quot;GridFS List&amp;lt;GridFSDBFile&amp;gt; find( DBObject query ,...) should close cursor&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-703&quot;&gt;&lt;del&gt;JAVA-703&lt;/del&gt;&lt;/a&gt;: the find() method of GridFS should can be sorted.  Cursor should be closed in a finally block.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/8c6562a85421647f63e168bd4d62452e1e336ce7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/8c6562a85421647f63e168bd4d62452e1e336ce7&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="247167" author="auto" created="Wed, 23 Jan 2013 02:22:35 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-11-28T15:17:59Z&apos;, u&apos;email&apos;: u&apos;github-commit@phil-schneider.de&apos;, u&apos;name&apos;: u&apos;Philipp&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-431&quot; title=&quot;the find() method of GridFS should allow specification of sort criteria&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-431&quot;&gt;&lt;del&gt;JAVA-431&lt;/del&gt;&lt;/a&gt; the find() method of GridFS should can be sorted&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-703&quot; title=&quot;GridFS List&amp;lt;GridFSDBFile&amp;gt; find( DBObject query ,...) should close cursor&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-703&quot;&gt;&lt;del&gt;JAVA-703&lt;/del&gt;&lt;/a&gt; GridFS List&amp;lt;GridFSDBFile&amp;gt; find( DBObject query ,...) should close cursor&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;surrounded the cursor with a try finally block&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/b9fd84288cbe17238423a3a95dfe065a4e6a7fed&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/b9fd84288cbe17238423a3a95dfe065a4e6a7fed&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="201223" author="phil-schneider" created="Wed, 28 Nov 2012 15:20:48 +0000"  >&lt;p&gt;This is also fixed in the pull request of the parent Jira issue&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrkt73:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>35193</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>