You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Christophe Le Saec (Jira)" <ji...@apache.org> on 2023/07/17 12:37:00 UTC

[jira] [Created] (AVRO-3801) Modify Schema.Parser.addTypes signature

Christophe Le Saec created AVRO-3801:
----------------------------------------

             Summary: Modify Schema.Parser.addTypes signature
                 Key: AVRO-3801
                 URL: https://issues.apache.org/jira/browse/AVRO-3801
             Project: Apache Avro
          Issue Type: Improvement
            Reporter: Christophe Le Saec
            Assignee: Christophe Le Saec


On java module, method addTypes is defined with a Map as input parameter
{code:java}
public Parser addTypes(Map<String, Schema> types) {
{code}
But key is never used.
So, very basic, simple improvement, is to change to 
{code:java}
public Parser addTypes(Iterabler<Schema> types) {
{code}
(keeping current one as deprecated for backward compatibility purpose)





--
This message was sent by Atlassian Jira
(v8.20.10#820010)