You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Jingguo Yao (JIRA)" <ji...@apache.org> on 2010/10/14 15:40:32 UTC

[jira] Created: (AVRO-681) invalid code in IDL doc

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.


[jira] Updated: (AVRO-681) invalid code in IDL doc

Posted by "Jingguo Yao (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AVRO-681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jingguo Yao updated AVRO-681:
-----------------------------

    Attachment: AVRO-681.patch

> 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
>         Attachments: AVRO-681.patch
>
>
> 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.


[jira] Updated: (AVRO-681) invalid code in IDL doc

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AVRO-681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Doug Cutting updated AVRO-681:
------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5.0
         Assignee: Jingguo Yao
     Hadoop Flags: [Reviewed]
           Status: Resolved  (was: Patch Available)

I just committed this.  Thanks, Jingguo.

> 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
>            Assignee: Jingguo Yao
>            Priority: Minor
>             Fix For: 1.5.0
>
>         Attachments: AVRO-681.patch
>
>
> 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.


[jira] Updated: (AVRO-681) invalid code in IDL doc

Posted by "Jingguo Yao (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AVRO-681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jingguo Yao updated AVRO-681:
-----------------------------

    Status: Patch Available  (was: Open)

patch available

> 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
>         Attachments: AVRO-681.patch
>
>
> 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.