Skip to content

Commit d90a54a

Browse files
rozzastIncMale
andauthored
Update driver-core/src/main/com/mongodb/internal/operation/CursorResourceManager.java
Co-authored-by: Valentin Kovalenko <[email protected]>
1 parent 44d9b0f commit d90a54a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

driver-core/src/main/com/mongodb/internal/operation/CursorResourceManager.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,11 @@ CS getConnectionSource() {
108108
return connectionSource;
109109
}
110110

111+
/**
112+
* Thread-safe.
113+
*/
111114
@Nullable
112-
public C getPinnedConnection() {
115+
C getPinnedConnection() {
113116
return pinnedConnection;
114117
}
115118

0 commit comments

Comments
 (0)