Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-605

Java: make Utf8 implement CharSequence

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0
    • java
    • None
    • Incompatible change, Reviewed

    Description

      If Utf8 implemented CharSequence then interfaces could change to specify CharSequence and accept Utf8 or String interchangeably.

      This would be mostly back-compatible, except the method signatures of generated protocols would be different, so implementations would need to be updated.

      Attachments

        1. AVRO-605.patch
          41 kB
          Doug Cutting
        2. AVRO-605.patch
          39 kB
          Doug Cutting
        3. AVRO-605.patch
          38 kB
          Doug Cutting

        Issue Links

          Activity

            People

              cutting Doug Cutting
              cutting Doug Cutting
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: