[JAVA-3361] Fix compiler warnings in OperationHelper.java Created: 23/Jul/19  Updated: 28/Oct/23  Resolved: 26/Jul/19

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

Type: Improvement Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: John Stewart (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

/Users/jeff/mongo-java-driver/driver-core/src/main/com/mongodb/internal/operation/OperationHelper.java:552: warning: [overloads] withConnection(AsyncReadBinding,AsyncCallableWithConnection) in OperationHelper is potentially ambiguous with withConnection(AsyncReadBinding,AsyncCallableWithSource) in OperationHelper
    static void withConnection(final AsyncReadBinding binding, final AsyncCallableWithConnection callable) {
                ^
/Users/jeff/mongo-java-driver/driver-core/src/main/com/mongodb/internal/operation/OperationHelper.java:594: warning: [overloads] withConnectionSource(AsyncConnectionSource,AsyncCallableWithConnection) in OperationHelper is potentially ambiguous with withConnectionSource(AsyncConnectionSource,AsyncCallableWithSource) in OperationHelper
    private static void withConnectionSource(final AsyncConnectionSource source, final AsyncCallableWithConnection callable) {



 Comments   
Comment by Githook User [ 01/Aug/19 ]

Author:

{'name': 'John Stewart', 'email': 'john.stewart@mongodb.com', 'username': 'jstewart-mongo'}

Message: Fix compiler warnings in OperationHelper.java

JAVA-3361
Branch: mongot
https://github.com/mongodb/mongo-java-driver/commit/a9b4985390d29f0793afdf87a754437bfaf4d881

Comment by Githook User [ 26/Jul/19 ]

Author:

{'name': 'John Stewart', 'email': 'john.stewart@mongodb.com', 'username': 'jstewart-mongo'}

Message: Fix compiler warnings in OperationHelper.java

JAVA-3361
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/a9b4985390d29f0793afdf87a754437bfaf4d881

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