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

Simplify OverridableUuidRepresentationCodecRegistry

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 4.8.0
    • Affects Version/s: None
    • Component/s: Internal
    • None
    • Fully Compatible
    • Not Needed

      OverridableUuidRepresentationCodecRegistry doesn't need to implement CodecRegistry. It can just implement CodecProvider, and CodecRegistries#withUuidRepresentation can be changed to just return fromProviders(new OverridableUuidRepresentationCodecProvider(codecRegistry, uuidRepresentation)).

      It can also move into org.bson.codecs.configuration package and become package private.

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

              Created:
              Updated:
              Resolved: