You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Emilio Jose Mena Cebrian (Jira)" <ji...@apache.org> on 2021/03/11 09:55:00 UTC
[jira] [Created] (AVRO-3076) Wrong javadoc documentation for
useCustomCoders
Emilio Jose Mena Cebrian created AVRO-3076:
----------------------------------------------
Summary: 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
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.3.4#803005)