Skip to content

Commit 86330d7

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

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
@@ -93,7 +93,10 @@ MongoNamespace getNamespace() {
9393
return namespace;
9494
}
9595

96-
public State getState() {
96+
/**
97+
* Thread-safe.
98+
*/
99+
State getState() {
97100
return state;
98101
}
99102

0 commit comments

Comments
 (0)