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

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

Commit f8c9e4e03bd7f1c1dc30e02f187229a339c46813 in avro's branch 
refs/heads/branch-1.10 from Henrique Mota
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=f8c9e4e ]

[AVRO-2571] avro-maven-plugin not escaping "public" keyword in namespace (#844)

* [AVRO-2571] escape reserved java keywords in packages

* using mangle to scape namespace

* Revert "using mangle to scape namespace"

This reverts commit eb788cc4

* AVRO-2571: using mangle to scape namespace

* AVRO-2571: removing inport  org.apache.commons.lang3.StringUtils

* AVRO-2571: fix NullPointer error

> avro-maven-plugin not escaping "public" keyword in namespace
> ------------------------------------------------------------
>
>                 Key: AVRO-2571
>                 URL: https://issues.apache.org/jira/browse/AVRO-2571
>             Project: Apache Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.9.0
>            Reporter: Daniel Shuy
>            Assignee: Henrique Mota
>            Priority: Major
>             Fix For: 1.10.1
>
>
> If the avro schema namespace contains the word *public*, the generated Java 
> source file will fail to compile, because *public* is a reserved keyword in 
> Java.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to