<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:55:59 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-1968] Some Java methods are not listing default values</title>
                <link>https://jira.mongodb.org/browse/JAVA-1968</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;On the following page:&lt;br/&gt;
&lt;a href=&quot;http://api.mongodb.org/java/current/com/mongodb/MongoClientOptions.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://api.mongodb.org/java/current/com/mongodb/MongoClientOptions.html&lt;/a&gt;&lt;br/&gt;
most methods that return time values show the default value.&lt;br/&gt;
However some, like the following:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;getMaxConnectionIdleTime&lt;/li&gt;
	&lt;li&gt;getMaxConnectionLifeTime&lt;/li&gt;
	&lt;li&gt;getHeartbeatFrequency (just putting the default on a separate line should do)&lt;/li&gt;
	&lt;li&gt;getMinHeartbeatFrequency (same as above)&lt;/li&gt;
	&lt;li&gt;getHeartbeatSocketTimeout (same as above)&lt;/li&gt;
	&lt;li&gt;...&lt;br/&gt;
don&apos;t, or are formatted differently.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Note that methods also show &lt;em&gt;Since&lt;/em&gt;, but not all of them. Are we consistent with that section?&lt;/p&gt;</description>
                <environment></environment>
        <key id="230110">JAVA-1968</key>
            <summary>Some Java methods are not listing default values</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="ross@mongodb.com">Ross Lawley</assignee>
                                    <reporter username="daniel.coupal@mongodb.com">Daniel Coupal</reporter>
                        <labels>
                    </labels>
                <created>Wed, 16 Sep 2015 18:22:50 +0000</created>
                <updated>Tue, 6 Dec 2016 14:36:05 +0000</updated>
                            <resolved>Tue, 6 Dec 2016 14:36:05 +0000</resolved>
                                                    <fixVersion>3.5.0</fixVersion>
                                    <component>Documentation</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="1450177" author="ross@10gen.com" created="Tue, 6 Dec 2016 14:36:05 +0000"  >&lt;p&gt;Many thanks to &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=vedala&quot; class=&quot;user-hover&quot; rel=&quot;vedala&quot;&gt;vedala&lt;/a&gt; for the PR updating the JavaDoc for MongoClientOptions.&lt;/p&gt;</comment>
                            <comment id="1450176" author="xgen-internal-githook" created="Tue, 6 Dec 2016 14:34:34 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;vedala&apos;, u&apos;name&apos;: u&apos;Sundaram Kalyan Vedala&apos;, u&apos;email&apos;: u&apos;svedala23@gmail.com&apos;}
&lt;p&gt;Message: Update MongoClientOptions Javadoc&lt;/p&gt;

&lt;p&gt;Updated javadoc to show default values for a few methods&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1968&quot; title=&quot;Some Java methods are not listing default values&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1968&quot;&gt;&lt;del&gt;JAVA-1968&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/3b63f24af5025d397318c378d839dcd8d7cdb711&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/3b63f24af5025d397318c378d839dcd8d7cdb711&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1215732" author="vedala" created="Fri, 25 Mar 2016 19:20:34 +0000"  >&lt;p&gt;I have opened a pull request for this issue.&lt;/p&gt;

&lt;p&gt;Summary of modifications made to MongoClientOptions.java:&lt;/p&gt;

&lt;p&gt;Added default value information:&lt;/p&gt;

&lt;p&gt;   getMaxConnectionIdleTime&lt;br/&gt;
   getMaxConnectionLifeTime&lt;/p&gt;


&lt;p&gt;Default value information moved to a separate line&lt;/p&gt;

&lt;p&gt;    getDbDecoderFactory&lt;br/&gt;
    getDbEncoderFactory&lt;/p&gt;


&lt;p&gt;Default value information moved to a separate line, modified slightly for consistency&lt;/p&gt;

&lt;p&gt;    getHeartbeatFrequency&lt;br/&gt;
    getMinHeartbeatFrequency&lt;br/&gt;
    getHeartbeatSocketTimeout&lt;br/&gt;
    isSslEnabled&lt;br/&gt;
    isSslInvalidHostNameAllowed&lt;br/&gt;
    getCommandListeners&lt;/p&gt;


&lt;p&gt;Default value information already present on separate line, modified slightly for consistency&lt;/p&gt;

&lt;p&gt;    getHeartbeatConnectTimeout&lt;br/&gt;
    getLocalThreshold&lt;/p&gt;


&lt;p&gt;Default value information modified from false to &lt;/p&gt;
{@code false}

&lt;p&gt;    isAlwaysUseMBeans&lt;br/&gt;
    isSocketKeepAlive&lt;/p&gt;</comment>
                            <comment id="1215226" author="vedala" created="Fri, 25 Mar 2016 14:15:49 +0000"  >&lt;p&gt;Thanks, Jeff. I will work on the issue and will update the ticket after my pull request is ready.&lt;/p&gt;</comment>
                            <comment id="1213660" author="jeff.yemin" created="Thu, 24 Mar 2016 13:21:29 +0000"  >&lt;p&gt;You can&apos;t assign it to yourself, but you can open a &lt;a href=&quot;https://help.github.com/articles/using-pull-requests/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;pull request&lt;/a&gt; against the &lt;a href=&quot;https://github.com/mongodb/mongo-java-driver&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Github project&lt;/a&gt; and we&apos;ll be happy to consider merging it.&lt;/p&gt;</comment>
                            <comment id="1212683" author="vedala" created="Wed, 23 Mar 2016 16:57:46 +0000"  >&lt;p&gt;I am new to mongodb community. I feel this issue would be a good place to start contributing to mongodb java driver. How can I assign this issue to myself? I hope writing a comment is the right place for query of this kind.&lt;/p&gt;</comment>
                            <comment id="1032156" author="jeff.yemin" created="Wed, 16 Sep 2015 18:42:16 +0000"  >&lt;p&gt;Generally, we only add the @since Javadoc annotation to methods that were added in releases subsequent to the release that the containing class was introduced, e.g getConnectionsPerHost doesn&apos;t have one since it was in the original version of MongoClientOptions.&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|hsd5q7:</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>