Hi,

Per git blame, the change that introduced the transient keyword is
https://github.com/apache/avro/commit/53aca6d7e502e83f1c38e8926ae671b026bd3872(
https://issues.apache.org/jira/browse/AVRO-601).
I cannot find any explanation as to why transient is required here from the
code or the issue discussion.
>From as far as I can see, I believe transient could be removed.
C.


On Tue, Mar 4, 2014 at 6:03 PM, Robert Chu <[email protected]> wrote:

> Hi everyone,
>
> I was wondering why the position field of the Schema.Field class is marked
> as transient given that the Schema class itself isn't even marked as
> serializable. The code that I am referring to can be found:
>
> https://github.com/apache/avro/blob/trunk/lang/java/avro/src/main/java/org/apache/avro/Schema.java#L358
> .
>
> If there isn't a reason, can we change this to not be transient? I can make
> the one line patch.
>
> Robert
>

Reply via email to