avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jingguo Yao (JIRA)" <j...@apache.org>
Subject [jira] Created: (AVRO-681) invalid code in IDL doc
Date Thu, 14 Oct 2010 13:40:32 GMT
invalid code in IDL doc

                 Key: AVRO-681
                 URL: https://issues.apache.org/jira/browse/AVRO-681
             Project: Avro
          Issue Type: Bug
          Components: doc
    Affects Versions: 1.4.0
            Reporter: Jingguo Yao
            Priority: Minor

The following IDL code is invalid:
record MyRecord {
  @java-class("java.util.ArrayList") array string myStrings;

First, "-" can't be used in a annotation name. Second, "array string" is the wrong way to
denote array. Valid code should be:
record MyRecord {
  @java_class("java.util.ArrayList") array<string> myStrings;

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message