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

Simplify OverridableUuidRepresentationCodecRegistry

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Unknown Unknown
    • 4.8.0
    • None
    • Internal
    • None
    • Fully Compatible
    • Not Needed

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: