[JAVA-1420] Unused methods on Mongo Created: 01/Sep/14  Updated: 23/Jun/17  Resolved: 23/Jun/17

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

Type: Task Priority: Major - P3
Reporter: Trisha Gee Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: Test Coverage

 Description   

The method
public List<ServerAddress> getAllAddress() {

on Mongo is unused. It either needs to be tested, or deprecated and removed. Since there's a TODO note on there, it looks like deprecation might be the correct approach.

The methods
public Collection<DB> getUsedDatabases() {
public String getConnectPoint() {

area also not used. They should be tested or deprecated.

The decoder parameter on
<T> T execute(final WriteOperation<T> operation, final Decoder<DBObject> decoder) {

is never used, and it's a package-level method - should it just be removed?


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