Sujesh Chirackkal created AVRO-1298:
---------------------------------------

             Summary: 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.4, 1.7.3
            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"));

Had to use

Schema schema = new Schema().parse(new Parser("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

Reply via email to