You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Ryan Skraba (Jira)" <ji...@apache.org> on 2022/06/16 18:17:00 UTC

[jira] [Assigned] (AVRO-3076) Wrong javadoc documentation for useCustomCoders

     [ https://issues.apache.org/jira/browse/AVRO-3076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryan Skraba reassigned AVRO-3076:
---------------------------------

    Assignee: Rens Groothuijsen

> Wrong javadoc documentation for useCustomCoders
> -----------------------------------------------
>
>                 Key: AVRO-3076
>                 URL: https://issues.apache.org/jira/browse/AVRO-3076
>             Project: Apache Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.10.1
>            Reporter: Emilio Jose Mena Cebrian
>            Assignee: Rens Groothuijsen
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 1.11.1
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Javadoc says that useCustomCoder defaults to true:
>  
>  
> {code:java}
>   /**
>            * Retrieve the current value of the custom-coders feature flag. Defaults to
>            * <code>true</code>, but this default can be overriden using the system
>            * property <code>org.apache.avro.specific.use_custom_coders</code>, and can be
>            * set dynamically by {@link SpecificData#useCustomCoders()}. See <a
>            * href="https://avro.apache.org/docs/current/gettingstartedjava.html#Beta+feature:+Generating+faster+code"Getting
>            * started with Java</a> for more about this feature flag.
>            */
> {code}
> But in fact it defaults to "false"
>  
>  
> {code:java}
>  private boolean useCustomCoderFlag = Boolean         .parseBoolean(System.getProperty("org.apache.avro.specific.use_custom_coders", "false"));
>       
>       
>         
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)