[JAVA-17] Change so that containsKey impl points to containsField Created: 08/Aug/09  Updated: 02/Oct/09  Resolved: 10/Aug/09

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

Type: Bug Priority: Trivial - P5
Reporter: Ryan Nitz Assignee: Kristina Chodorow (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

You have duplicate code....

This should be:

src/main/com/mongodb/BasicDBList.java
public boolean containsKey( String key )

{ return containsField(key); }

Some of the others classes have this as well... less likely to break if you make changes to containsField (until fully deprecated).



 Comments   
Comment by Kristina Chodorow (Inactive) [ 10/Aug/09 ]

I think I changed them all.

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