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

Share code between public RawBsonDocument/RawBsonArray and internal ByteBufBsonDocument/ByteBufBsonArray

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: BSON, Internal
    • Labels:
      None

      After JAVA-4917, the internal classes internal ByteBufBsonDocument/ByteBufBsonArray offer even more overlapping, and now better, support for raw BSON. Consider DRY-ing up the code so that both offer the same functionality but with shared code. It might also be possible to replace the internal classes with the public ones.

            Assignee:
            Unassigned Unassigned
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: