<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:58:47 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-3099] com.mongodb.MongoClient should implement the close method</title>
                <link>https://jira.mongodb.org/browse/JAVA-3099</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;&lt;tt&gt;com.mongodb.MongoClient&lt;/tt&gt; implements Closeable, but the close method is actually defined in &lt;tt&gt;com.mongodb.Mongo&lt;/tt&gt;, its superclass. This shouldn&apos;t generate a compiler warning, but Eclipse is complaining about it anyway.  See &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-3000&quot; title=&quot;Deprecate Mongo class&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-3000&quot;&gt;&lt;del&gt;JAVA-3000&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The solution is probably to add a close method to MongoClient that just calls &lt;tt&gt;super.close&lt;/tt&gt;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="637257">JAVA-3099</key>
            <summary>com.mongodb.MongoClient should implement the close method</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="13201">Fixed</resolution>
                                        <assignee username="jeff.yemin@mongodb.com">Jeffrey Yemin</assignee>
                                    <reporter username="jeff.yemin@mongodb.com">Jeffrey Yemin</reporter>
                        <labels>
                    </labels>
                <created>Wed, 21 Nov 2018 19:35:18 +0000</created>
                <updated>Sat, 28 Oct 2023 11:22:30 +0000</updated>
                            <resolved>Thu, 22 Nov 2018 12:30:47 +0000</resolved>
                                                    <fixVersion>3.9.1</fixVersion>
                                    <component>API</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="2113552" author="xgen-internal-githook" created="Mon, 14 Jan 2019 01:17:35 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;jyemin&apos;, &apos;email&apos;: &apos;jeff.yemin@10gen.com&apos;, &apos;name&apos;: &apos;Jeff Yemin&apos;}
&lt;p&gt;Message: Implement Closeable directly in MongoClient&lt;/p&gt;

&lt;p&gt;Some tools are generating spurious warnings about this, because while&lt;br/&gt;
MongoClient implements Closeable, the close method itself is implemented&lt;br/&gt;
in the deprecated Mongo superclass.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-3099&quot; title=&quot;com.mongodb.MongoClient should implement the close method&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-3099&quot;&gt;&lt;del&gt;JAVA-3099&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: 3.10.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/b752b3c333cd99e32323a4d30ef67a8b949872f7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/b752b3c333cd99e32323a4d30ef67a8b949872f7&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2069931" author="xgen-internal-githook" created="Thu, 22 Nov 2018 12:30:36 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Jeff Yemin&apos;, &apos;email&apos;: &apos;jeff.yemin@10gen.com&apos;, &apos;username&apos;: &apos;jyemin&apos;}
&lt;p&gt;Message: Implement Closeable directly in MongoClient&lt;/p&gt;

&lt;p&gt;Some tools are generating spurious warnings about this, because while&lt;br/&gt;
MongoClient implements Closeable, the close method itself is implemented&lt;br/&gt;
in the deprecated Mongo superclass.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-3099&quot; title=&quot;com.mongodb.MongoClient should implement the close method&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-3099&quot;&gt;&lt;del&gt;JAVA-3099&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: 3.9.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/3ebe0c697036bd3e0c304b8fd243ed831bfa84e6&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/3ebe0c697036bd3e0c304b8fd243ed831bfa84e6&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2069929" author="xgen-internal-githook" created="Thu, 22 Nov 2018 12:29:59 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Jeff Yemin&apos;, &apos;email&apos;: &apos;jeff.yemin@10gen.com&apos;, &apos;username&apos;: &apos;jyemin&apos;}
&lt;p&gt;Message: Implement Closeable directly in MongoClient&lt;/p&gt;

&lt;p&gt;Some tools are generating spurious warnings about this, because while&lt;br/&gt;
MongoClient implements Closeable, the close method itself is implemented&lt;br/&gt;
in the deprecated Mongo superclass.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-3099&quot; title=&quot;com.mongodb.MongoClient should implement the close method&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-3099&quot;&gt;&lt;del&gt;JAVA-3099&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/b8c78bd7c8115e6a1bd62bc9a197e9d3f34e2021&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/b8c78bd7c8115e6a1bd62bc9a197e9d3f34e2021&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2069444" author="kolano" created="Wed, 21 Nov 2018 20:39:20 +0000"  >&lt;p&gt;That does resolve this.&lt;/p&gt;</comment>
                            <comment id="2069397" author="jeff.yemin" created="Wed, 21 Nov 2018 19:49:39 +0000"  >&lt;p&gt;OK, &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=Kolano&quot; class=&quot;user-hover&quot; rel=&quot;Kolano&quot;&gt;Kolano&lt;/a&gt; Can you give the 3.9.1-SNAPSHOT a try: &lt;a href=&quot;https://oss.sonatype.org/content/repositories/snapshots/org/mongodb/mongo-java-driver/3.9.1-SNAPSHOT/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://oss.sonatype.org/content/repositories/snapshots/org/mongodb/mongo-java-driver/3.9.1-SNAPSHOT/&lt;/a&gt; ?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="611872">JAVA-3000</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <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|hu3llr:</customfieldvalue>

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