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

Change so that containsKey impl points to containsField

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 0.8
    • Affects Version/s: None
    • Component/s: None
    • None

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

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

              Created:
              Updated:
              Resolved: