[JAVA-15] Method/param semantic issues Created: 06/Aug/09  Updated: 02/Oct/09  Resolved: 07/Aug/09

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

Type: Bug Priority: Major - P3
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   

In most documentation, you seem to refer to the attributes of a document as fields. In the Java driver documentation, you refer to them as keys (probably because you are using a map).

The following methods use two different terms:

containsKey(key)
removeField(key)

The rest of the methods refer to keys. This should be consistent with the rest of the documentation. If they are fields then set the param name as "name" or "fieldName". If you settle on fields then I would deprecate containsKey and add containsField(name).



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

containsKey has been deprecated.

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