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

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

    [ https://issues.apache.org/jira/browse/AVRO-2377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16825397#comment-16825397 ] 

ASF subversion and git services commented on AVRO-2377:
-------------------------------------------------------

Commit 0f89cc8e7347fed1f348a33b00b434a6acb4791d in avro's branch refs/heads/master from BELUGABEHR
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=0f89cc8 ]

AVRO-2377: Remove Reserved Words Initialization Blocks (#507)

* AVRO-2377: Remove Reserved Words Initialization Blocks

* Applied spotless


> 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)