avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AVRO-605) Java: make Utf8 implement CharSequence
Date Thu, 05 Aug 2010 23:26:17 GMT

    [ https://issues.apache.org/jira/browse/AVRO-605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12895871#action_12895871
] 

Doug Cutting commented on AVRO-605:
-----------------------------------

> Lets clearly disambiguate getLength() from length().

Should we rename get/setLength to be get/setByteLength?  This will break some folks, but might
be worth it.


> Java: make Utf8 implement CharSequence
> --------------------------------------
>
>                 Key: AVRO-605
>                 URL: https://issues.apache.org/jira/browse/AVRO-605
>             Project: Avro
>          Issue Type: Improvement
>          Components: java
>            Reporter: Doug Cutting
>            Assignee: Doug Cutting
>             Fix For: 1.4.0
>
>         Attachments: AVRO-605.patch, AVRO-605.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message