You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Sujesh Chirackkal (JIRA)" <ji...@apache.org> on 2013/04/13 03:05:13 UTC

[jira] [Updated] (AVRO-1298) Documentation says wrong usage of Parser

     [ https://issues.apache.org/jira/browse/AVRO-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sujesh Chirackkal updated AVRO-1298:
------------------------------------

    Description: 
Documentation : http://avro.apache.org/docs/1.7.3/gettingstartedjava.html#download_install

The below usage does not work

Schema schema = new Parser().parse(new File("user.avsc"));



  was:
Documentation : http://avro.apache.org/docs/1.7.3/gettingstartedjava.html#download_install

The below usage does not work

Schema schema = new Parser().parse(new File("user.avsc"));

Had to use

Schema schema = new Schema().parse(new Parser("user.avsc"));



    
> Documentation says wrong usage of Parser
> ----------------------------------------
>
>                 Key: AVRO-1298
>                 URL: https://issues.apache.org/jira/browse/AVRO-1298
>             Project: Avro
>          Issue Type: Improvement
>          Components: java
>    Affects Versions: 1.7.3, 1.7.4
>            Reporter: Sujesh Chirackkal
>            Priority: Minor
>
> Documentation : http://avro.apache.org/docs/1.7.3/gettingstartedjava.html#download_install
> The below usage does not work
> Schema schema = new Parser().parse(new File("user.avsc"));

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira