You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Fokko Driesprong (JIRA)" <ji...@apache.org> on 2019/04/24 18:00:00 UTC

[jira] [Resolved] (AVRO-2377) Remove Reserved Words Initialization Blocks

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

Fokko Driesprong resolved AVRO-2377.
------------------------------------
    Resolution: Fixed

> Remove Reserved Words Initialization Blocks
> -------------------------------------------
>
>                 Key: AVRO-2377
>                 URL: https://issues.apache.org/jira/browse/AVRO-2377
>             Project: Apache Avro
>          Issue Type: Improvement
>          Components: java
>    Affects Versions: 1.9.0
>            Reporter: David Mollitor
>            Assignee: David Mollitor
>            Priority: Minor
>             Fix For: 1.9.0
>
>
> {code:java}
>   private static final Set<String> FIELD_RESERVED = new HashSet<>();
>   static {
>     Collections.addAll(FIELD_RESERVED, "name", "type", "doc", "default", "aliases");
>   }
> {code}
> There are several of these patterns.  Nit.  Remove the static initialization blocks.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)