[JAVA-4184] Misspelled Method Name In Java Driver Created: 01/Jun/21  Updated: 04/May/22  Resolved: 07/Jun/21

Status: Closed
Project: Java Driver
Component/s: Documentation
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Trivial - P5
Reporter: Alek Binion (Inactive) Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: internal-user
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Hi team,

It looks like the serverHearbeatStarted method of the ServerMonitorListener class is misspelled.

Here is the line of code

I think it is missing the first "t" in "heartbeat".

Here it is in the JavaDoc as well: https://mongodb.github.io/mongo-java-driver/4.2/apidocs/mongodb-driver-core/com/mongodb/event/ServerMonitorListener.html#serverHearbeatStarted(com.mongodb.event.ServerHeartbeatStartedEvent)



 Comments   
Comment by Jeffrey Yemin [ 04/Jun/21 ]

Hi, thanks for pointing this out.

Unfortunately it's a public API so we can't just change the name without breaking implementers of the interface. I think this interface is not widely used so I'm ok leaving it as is.

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