[
https://issues.apache.org/jira/browse/AVRO-2377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16825435#comment-16825435
]
Hudson commented on AVRO-2377:
------------------------------
SUCCESS: Integrated in Jenkins build AvroJava #655 (See
[https://builds.apache.org/job/AvroJava/655/])
AVRO-2377: Remove Reserved Words Initialization Blocks (#507) (fokko:
[https://github.com/apache/avro/commit/0f89cc8e7347fed1f348a33b00b434a6acb4791d])
* (edit) lang/java/avro/src/main/java/org/apache/avro/Protocol.java
* (edit) lang/java/avro/src/main/java/org/apache/avro/Schema.java
> 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)