Simplify OverridableUuidRepresentationCodecRegistry

XMLWordPrintableJSON

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

      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:
            Jeffrey Yemin
            Reporter:
            Jeffrey Yemin
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: