[JAVA-3975] AsyncSessionBinding.retain and SessionBindingAsyncConnectionSource.retain return wrapped instead of this Created: 29/Jan/21  Updated: 28/Oct/23  Resolved: 03/Feb/21

Status: Closed
Project: Java Driver
Component/s: Reactive Streams
Affects Version/s: None
Fix Version/s: 4.3.0

Type: Improvement Priority: Minor - P4
Reporter: Valentin Kavalenka Assignee: Jeffrey Yemin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Issue split
split from JAVA-3907 AsyncQueryBatchCursor does not releas... Closed
Related
is related to JAVA-3974 Async CryptBinding.retain() returns w... Closed
Documentation Changes: Not Needed

 Description   

The contract of the method ReferenceCounted.retain requires returning this.



 Comments   
Comment by Githook User [ 03/Feb/21 ]

Author:

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

Message: Return `this` from retain methods in test code

JAVA-3975
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/0b9292e530013c75a53d36d76fb5018a4dd257cf

Generated at Thu Feb 08 09:00:55 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.