Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-17

Change so that containsKey impl points to containsField

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Trivial - P5 Trivial - P5
    • 0.8
    • None
    • None
    • None

    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).

      Attachments

        Activity

          People

            kristina Kristina Chodorow (Inactive)
            rn@deftlabs.com Ryan Nitz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: