[JAVA-297] Remove unnecessary BasicBSONObject.put() method Created: 15/Mar/11  Updated: 31/Mar/15  Resolved: 06/Mar/14

Status: Closed
Project: Java Driver
Component/s: API
Affects Version/s: 2.5
Fix Version/s: 3.0.0

Type: Improvement Priority: Trivial - P5
Reporter: Victor Song Assignee: Jeffrey Yemin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

BasicBSONObject.put() is unnecessary.
http://groups.google.com/group/mongodb-user/browse_thread/thread/ad55059f39abb380



 Comments   
Comment by Jeffrey Yemin [ 31/Mar/15 ]

Closing all resolved 3.0.0 issues, as 3.0.0 has been tagged and released.

Comment by Jeffrey Yemin [ 06/Mar/14 ]

Reviewed in pull request

Comment by Githook User [ 06/Mar/14 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@mongodb.com'}

Message: Merge pull request #175 from arthurnn/java_297_2

Merge pull request for JAVA-297
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/84cac28107072328382cd117ea96792d355fd5ee

Comment by Githook User [ 06/Mar/14 ]

Author:

{u'username': u'arthurnn', u'name': u'Arthur Neves', u'email': u'arthurnn@gmail.com'}

Message: JAVA-297: Remove unused method

put is just delegating the call to its parent, so there is no need to
define it.
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/508ebcf6f89f6ca7a9839550ca1a0e9f2cac0cf2

Comment by Jeffrey Yemin [ 06/Mar/14 ]

Removed append() method from the description, since we determined it is actually necessary due to the covariant return type in its declaration

Generated at Thu Feb 08 08:51:57 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.