<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:54:36 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-1425] Make IDGenerator generic</title>
                <link>https://jira.mongodb.org/browse/JAVA-1425</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;The IDGenerator currently returns an Object, when it would be better practice to make this generic:&lt;/p&gt;

&lt;p&gt;public interface IdGenerator&amp;lt;T&amp;gt; {&lt;br/&gt;
    T generate();&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;There are places where we need to resort to using Objects, but this is not one of them.&lt;/p&gt;</description>
                <environment></environment>
        <key id="156331">JAVA-1425</key>
            <summary>Make IDGenerator generic</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="trisha.gee@10gen.com">Trisha Gee</reporter>
                        <labels>
                    </labels>
                <created>Thu, 4 Sep 2014 09:29:38 +0000</created>
                <updated>Thu, 8 Oct 2015 15:50:07 +0000</updated>
                            <resolved>Tue, 14 Oct 2014 17:59:23 +0000</resolved>
                                                    <fixVersion>3.0.0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="735936" author="jeff.yemin" created="Tue, 7 Oct 2014 21:26:58 +0000"  >&lt;p&gt;I think Object is actually correct in this case.  IdGenerator will generally be passed as a parameter to a CollectibleCodec implementation and used to implement com.mongodb.codecs.CollectibleCodec#generateIdIfAbsentFromDocument.  If IdGenerator was generic on the type of the id it generated, then the Codec itself would also have to be generic based on that type.  But making a CollectibleCodec generic on anything besides the type that it decodes/encodes, because that type would be lost anyway once it&apos;s added to a CodecRegistry.&lt;/p&gt;

&lt;p&gt;Let me know if you still disagree.  Otherwise, let&apos;s close as won&apos;t fix.&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|hs1hz3:</customfieldvalue>

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